The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftFormat, reference main (b83a8f), with Swift 6.1 for Android on 15 Jul 2025 15:11:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/host/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/host/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:3001:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2999 |
3000 | extension Date {
3001 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3002 |         let formatter = DateFormatter()
3003 |         formatter.dateFormat = "yyyy"
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:3007:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3005 |     }()
3006 |
3007 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3008 |
3009 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | // If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:118:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
116 | }
117 |
118 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     let command = "git diff --diff-filter=R --staged --name-status"
120 |     let output = command.shellOutput(cwd: root)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:167:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     { hash, root in (hash ?? "none") + root.relativePath },
169 |     { hash, root in
/host/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:382:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 380 | }
 381 |
 382 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 383 |
 384 | private var _allDescriptors: [OptionDescriptor] = {
     :
 440 | }
 441 |
 442 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 443 |     let lineAfterMarks = OptionDescriptor(
 444 |         argumentName: "line-after-marks",
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:384:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 382 | let Descriptors = _Descriptors()
 383 |
 384 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 385 |     var descriptors = [OptionDescriptor]()
 386 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:405:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 403 | }()
 404 |
 405 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 406 |
 407 | private let _formattingDescriptors: [OptionDescriptor] = {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:407:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | class OptionDescriptor {
     |       `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         /// index 0 is official value, others are acceptable
     :
 405 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 406 |
 407 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 408 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 409 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/host/spi-builder-workspace/Sources/Options.swift:199:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 194 |
 195 | /// Version number wrapper
 196 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 197 |     public let rawValue: String
 198 |
 199 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 200 |
 201 |     public init(stringLiteral value: String) {
/host/spi-builder-workspace/Sources/Options.swift:351:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 349 | /// File info, used for constructing header comments
 350 | public struct FileInfo: Equatable, CustomStringConvertible {
 351 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 352 |         .createdDate: .dynamic { info, options in
 353 |             info.creationDate?.format(with: options.dateFormat,
/host/spi-builder-workspace/Sources/Options.swift:814:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 681 | /// Configuration options for formatting. These aren't actually used by the
 682 | /// Formatter class itself, but it makes them available to the format rules.
 683 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 684 |     public var lineAfterMarks: Bool
 685 |     public var indent: String
     :
 812 |     var enabledRules: Set<String> = []
 813 |
 814 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 815 |
 816 |     public init(lineAfterMarks: Bool = true,
/host/spi-builder-workspace/Sources/Options.swift:1106:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownFormattingMode' may have shared mutable state; this is an error in the Swift 6 language mode
1096 | }
1097 |
1098 | public enum MarkdownFormattingMode: String, CaseIterable {
     |             `- note: consider making enum 'MarkdownFormattingMode' conform to the 'Sendable' protocol
1099 |     /// Swift code in markdown files is ignored (default)
1100 |     case ignore
     :
1104 |     case strict = "format-strict"
1105 |
1106 |     public static let `default`: Self = .ignore
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownFormattingMode' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1107 |
1108 |     public static var help: String {
/host/spi-builder-workspace/Sources/Options.swift:1122:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1112 |
1113 | /// File enumeration options
1114 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1115 |     public var followSymlinks: Bool
1116 |     public var supportedFileExtensions: [String]
     :
1120 |     public var markdownFormattingMode: MarkdownFormattingMode
1121 |
1122 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1123 |
1124 |     public init(followSymlinks: Bool = false,
/host/spi-builder-workspace/Sources/Options.swift:1164:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1155 |
1156 | /// All options
1157 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1158 |     public var fileOptions: FileOptions?
1159 |     public var formatOptions: FormatOptions?
     :
1162 |     public var lint: Bool
1163 |
1164 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1165 |         fileOptions: .default,
1166 |         formatOptions: .default,
/host/spi-builder-workspace/Sources/RuleRegistry.generated.swift:11:5: warning: let 'ruleRegistry' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | /// All of the rules defined in the Rules directory.
 10 | /// **Generated automatically when running tests. Do not modify.**
 11 | let ruleRegistry: [String: FormatRule] = [
    |     |- warning: let 'ruleRegistry' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'ruleRegistry' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     "acronyms": .acronyms,
 13 |     "andOperator": .andOperator,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
/host/spi-builder-workspace/Sources/Rules/Acronyms.swift:12:16: warning: static property 'acronyms' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 |     static let acronyms = FormatRule(
   |                |- warning: static property 'acronyms' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'acronyms' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         help: "Capitalize acronyms when the first character is capitalized.",
14 |         disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
/host/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  47 |
  48 |     /// Output handler - override this to intercept output from the CLI
  49 |     static var print: (String, OutputType) -> Void = { _, _ in
     |                |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  50 |         fatalError("No print hook set.")
  51 |     }
/host/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  53 |     /// Input handler - override this to inject input into the CLI
  54 |     /// Injected lines should include the terminating newline character
  55 |     static var readLine: () -> String? = {
     |                |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  56 |         Swift.readLine(strippingNewline: false)
  57 |     }
/host/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  68 | }
  69 |
  70 | private var quietMode = false
     |             |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
  72 |     if !quietMode || [.raw, .content, .error].contains(type) {
/host/spi-builder-workspace/Sources/CommandLine.swift:836:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 834 |             // If no input file, try stdin
 835 |             DispatchQueue.global(qos: .userInitiated).async {
 836 |                 processFromStdin()
     |                 |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 837 |             }
 838 |             // Wait for input
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
 48 |
 49 |     /// Null rule, used for testing
 50 |     static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var isDeprecated: Bool {
/host/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public let FormatRules = _FormatRules()
    |            |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
    :
187 | }
188 |
189 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 |     fileprivate init() {}
191 | }
/host/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
    |             |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     var rules = [String: FormatRule]()
104 |     for (name, rule) in ruleRegistry {
/host/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
    |             |- warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_allRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/host/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
    |             |- warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_deprecatedRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/host/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
    |             |- warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_disabledByDefault' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/host/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
    :
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
    |             |- warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_defaultRules' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:3001:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2999 |
3000 | extension Date {
3001 |     static var yearFormatter: (Date) -> String = {
     |                |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3002 |         let formatter = DateFormatter()
3003 |         formatter.dateFormat = "yyyy"
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:3007:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3005 |     }()
3006 |
3007 |     static var currentYear = yearFormatter(Date())
     |                |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3008 |
3009 |     var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | // If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
    |             |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     let name = "git config user.name".shellOutput(cwd: url)
113 |     let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:118:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
116 | }
117 |
118 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
    |             |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     let command = "git diff --diff-filter=R --staged --name-status"
120 |     let output = command.shellOutput(cwd: root)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:167:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
    |             |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     { hash, root in (hash ?? "none") + root.relativePath },
169 |     { hash, root in
/host/spi-builder-workspace/Sources/Inference.swift:1515:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | private struct OptionInferrer {
     |                `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
  49 |     let fn: (Formatter, inout FormatOptions) -> Void
  50 |
     :
1513 |     }()
1514 |
1515 |     static let byName: [String: OptionInferrer] = {
     |                |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1516 |         var inferrers = [String: OptionInferrer]()
1517 |         for (label, value) in Mirror(reflecting: Inference()).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:382:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
 380 | }
 381 |
 382 | let Descriptors = _Descriptors()
     |     |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 383 |
 384 | private var _allDescriptors: [OptionDescriptor] = {
     :
 440 | }
 441 |
 442 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 443 |     let lineAfterMarks = OptionDescriptor(
 444 |         argumentName: "line-after-marks",
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:384:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 382 | let Descriptors = _Descriptors()
 383 |
 384 | private var _allDescriptors: [OptionDescriptor] = {
     |             |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 385 |     var descriptors = [OptionDescriptor]()
 386 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:405:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 403 | }()
 404 |
 405 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
     |             |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
     |             |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 406 |
 407 | private let _formattingDescriptors: [OptionDescriptor] = {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:407:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
  32 | import Foundation
  33 |
  34 | class OptionDescriptor {
     |       `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         /// index 0 is official value, others are acceptable
     :
 405 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 406 |
 407 | private let _formattingDescriptors: [OptionDescriptor] = {
     |             |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 408 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 409 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/host/spi-builder-workspace/Sources/Options.swift:199:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 194 |
 195 | /// Version number wrapper
 196 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 197 |     public let rawValue: String
 198 |
 199 |     public static let undefined = Version(rawValue: "0")!
     |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 200 |
 201 |     public init(stringLiteral value: String) {
/host/spi-builder-workspace/Sources/Options.swift:351:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 349 | /// File info, used for constructing header comments
 350 | public struct FileInfo: Equatable, CustomStringConvertible {
 351 |     static var defaultReplacements: [ReplacementKey: ReplacementType] = [
     |                |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 352 |         .createdDate: .dynamic { info, options in
 353 |             info.creationDate?.format(with: options.dateFormat,
/host/spi-builder-workspace/Sources/Options.swift:814:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 681 | /// Configuration options for formatting. These aren't actually used by the
 682 | /// Formatter class itself, but it makes them available to the format rules.
 683 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 684 |     public var lineAfterMarks: Bool
 685 |     public var indent: String
     :
 812 |     var enabledRules: Set<String> = []
 813 |
 814 |     public static let `default` = FormatOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 815 |
 816 |     public init(lineAfterMarks: Bool = true,
/host/spi-builder-workspace/Sources/Options.swift:1106:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownFormattingMode' may have shared mutable state; this is an error in the Swift 6 language mode
1096 | }
1097 |
1098 | public enum MarkdownFormattingMode: String, CaseIterable {
     |             `- note: consider making enum 'MarkdownFormattingMode' conform to the 'Sendable' protocol
1099 |     /// Swift code in markdown files is ignored (default)
1100 |     case ignore
     :
1104 |     case strict = "format-strict"
1105 |
1106 |     public static let `default`: Self = .ignore
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownFormattingMode' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1107 |
1108 |     public static var help: String {
/host/spi-builder-workspace/Sources/Options.swift:1122:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1112 |
1113 | /// File enumeration options
1114 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1115 |     public var followSymlinks: Bool
1116 |     public var supportedFileExtensions: [String]
     :
1120 |     public var markdownFormattingMode: MarkdownFormattingMode
1121 |
1122 |     public static let `default` = FileOptions()
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1123 |
1124 |     public init(followSymlinks: Bool = false,
/host/spi-builder-workspace/Sources/Options.swift:1164:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1155 |
1156 | /// All options
1157 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1158 |     public var fileOptions: FileOptions?
1159 |     public var formatOptions: FormatOptions?
     :
1162 |     public var lint: Bool
1163 |
1164 |     public static let `default` = Options(
     |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1165 |         fileOptions: .default,
1166 |         formatOptions: .default,
/host/spi-builder-workspace/Sources/RuleRegistry.generated.swift:11:5: warning: let 'ruleRegistry' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | /// All of the rules defined in the Rules directory.
 10 | /// **Generated automatically when running tests. Do not modify.**
 11 | let ruleRegistry: [String: FormatRule] = [
    |     |- warning: let 'ruleRegistry' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'ruleRegistry' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     "acronyms": .acronyms,
 13 |     "andOperator": .andOperator,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
/host/spi-builder-workspace/Sources/Rules/Acronyms.swift:12:16: warning: static property 'acronyms' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 |     static let acronyms = FormatRule(
   |                |- warning: static property 'acronyms' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'acronyms' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         help: "Capitalize acronyms when the first character is capitalized.",
14 |         disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
 32 | import Foundation
 33 |
 34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
    |                    `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
 35 |     static let unnamedRule = "[unnamed rule]"
 36 |
[313/317] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[315/319] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                           `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                                  `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[316/319] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                           `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                                  `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/6] Write swift-version-24593BA9C3E375BF.txt
[3/272] Compiling SwiftFormat Arguments.swift
[4/272] Compiling SwiftFormat CommandLine.swift
[5/272] Compiling SwiftFormat Declaration.swift
[6/272] Compiling SwiftFormat DeclarationType.swift
[7/272] Compiling SwiftFormat EnumAssociable.swift
[8/272] Compiling SwiftFormat FormatRule.swift
[9/272] Compiling SwiftFormat Formatter.swift
[10/272] Compiling SwiftFormat FormattingHelpers.swift
[11/272] Compiling SwiftFormat GitFileInfo.swift
[12/272] Compiling SwiftFormat GithubActionsLogReporter.swift
[13/272] Compiling SwiftFormat Globs.swift
[14/272] Compiling SwiftFormat Inference.swift
[15/272] Compiling SwiftFormat JSONReporter.swift
[16/272] Compiling SwiftFormat OptionDescriptor.swift
[17/272] Compiling SwiftFormat Options.swift
[18/272] Compiling SwiftFormat ParsingHelpers.swift
[19/272] Compiling SwiftFormat Reporter.swift
[20/272] Compiling SwiftFormat RuleRegistry.generated.swift
[21/272] Compiling SwiftFormat Acronyms.swift
[22/290] Compiling SwiftFormat SpaceInsideBraces.swift
[23/290] Compiling SwiftFormat SpaceInsideBrackets.swift
[24/290] Compiling SwiftFormat SpaceInsideComments.swift
[25/290] Compiling SwiftFormat SpaceInsideGenerics.swift
[26/290] Compiling SwiftFormat SpaceInsideParens.swift
[27/290] Compiling SwiftFormat Specifiers.swift
[28/290] Compiling SwiftFormat StrongOutlets.swift
[29/290] Compiling SwiftFormat StrongifiedSelf.swift
[30/290] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[31/290] Compiling SwiftFormat ThrowingTests.swift
[32/290] Compiling SwiftFormat Todos.swift
[33/290] Compiling SwiftFormat TrailingClosures.swift
[34/290] Compiling SwiftFormat TrailingCommas.swift
[35/290] Compiling SwiftFormat TrailingSpace.swift
[36/290] Compiling SwiftFormat TypeSugar.swift
[37/290] Compiling SwiftFormat URLMacro.swift
[38/290] Compiling SwiftFormat UnusedArguments.swift
[39/290] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[40/308] Compiling SwiftFormat LeadingDelimiters.swift
[41/308] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[42/308] Compiling SwiftFormat Linebreaks.swift
[43/308] Compiling SwiftFormat MarkTypes.swift
[44/308] Compiling SwiftFormat ModifierOrder.swift
[45/308] Compiling SwiftFormat ModifiersOnSameLine.swift
[46/308] Compiling SwiftFormat NoExplicitOwnership.swift
[47/308] Compiling SwiftFormat NoGuardInTests.swift
[48/308] Compiling SwiftFormat NumberFormatting.swift
[49/308] Compiling SwiftFormat OpaqueGenericParameters.swift
[50/308] Compiling SwiftFormat OrganizeDeclarations.swift
[51/308] Compiling SwiftFormat PreferCountWhere.swift
[52/308] Compiling SwiftFormat PreferForLoop.swift
[53/308] Compiling SwiftFormat PreferKeyPath.swift
[54/308] Compiling SwiftFormat PreferSwiftTesting.swift
[55/308] Compiling SwiftFormat PrivateStateVariables.swift
[56/308] Compiling SwiftFormat PropertyTypes.swift
[57/308] Compiling SwiftFormat RedundantBackticks.swift
[58/308] Compiling SwiftFormat RedundantBreak.swift
[59/308] Compiling SwiftFormat RedundantSelf.swift
[60/308] Compiling SwiftFormat RedundantStaticSelf.swift
[61/308] Compiling SwiftFormat RedundantType.swift
[62/308] Compiling SwiftFormat RedundantTypedThrows.swift
[63/308] Compiling SwiftFormat RedundantVoidReturnType.swift
[64/308] Compiling SwiftFormat Semicolons.swift
[65/308] Compiling SwiftFormat SinglePropertyPerLine.swift
[66/308] Compiling SwiftFormat SortDeclarations.swift
[67/308] Compiling SwiftFormat SortImports.swift
[68/308] Compiling SwiftFormat SortSwitchCases.swift
[69/308] Compiling SwiftFormat SortTypealiases.swift
[70/308] Compiling SwiftFormat SortedImports.swift
[71/308] Compiling SwiftFormat SortedSwitchCases.swift
[72/308] Compiling SwiftFormat SpaceAroundBraces.swift
[73/308] Compiling SwiftFormat SpaceAroundBrackets.swift
[74/308] Compiling SwiftFormat SpaceAroundComments.swift
[75/308] Compiling SwiftFormat SpaceAroundGenerics.swift
[76/308] Compiling SwiftFormat SpaceAroundOperators.swift
[77/308] Compiling SwiftFormat SpaceAroundParens.swift
[78/308] Compiling SwiftFormat RedundantClosure.swift
[79/308] Compiling SwiftFormat RedundantEquatable.swift
[80/308] Compiling SwiftFormat RedundantExtensionACL.swift
[81/308] Compiling SwiftFormat RedundantFileprivate.swift
[82/308] Compiling SwiftFormat RedundantGet.swift
[83/308] Compiling SwiftFormat RedundantInit.swift
[84/308] Compiling SwiftFormat RedundantInternal.swift
[85/308] Compiling SwiftFormat RedundantLet.swift
[86/308] Compiling SwiftFormat RedundantLetError.swift
[87/308] Compiling SwiftFormat RedundantMemberwiseInit.swift
[88/308] Compiling SwiftFormat RedundantNilInit.swift
[89/308] Compiling SwiftFormat RedundantObjc.swift
[90/308] Compiling SwiftFormat RedundantOptionalBinding.swift
[91/308] Compiling SwiftFormat RedundantParens.swift
[92/308] Compiling SwiftFormat RedundantPattern.swift
[93/308] Compiling SwiftFormat RedundantProperty.swift
[94/308] Compiling SwiftFormat RedundantPublic.swift
[95/308] Compiling SwiftFormat RedundantRawValues.swift
[96/308] Compiling SwiftFormat RedundantReturn.swift
[97/308] Compiling SwiftFormat DocComments.swift
[98/308] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[99/308] Compiling SwiftFormat DuplicateImports.swift
[100/308] Compiling SwiftFormat ElseOnSameLine.swift
[101/308] Compiling SwiftFormat EmptyBraces.swift
[102/308] Compiling SwiftFormat EmptyExtensions.swift
[103/308] Compiling SwiftFormat EnumNamespaces.swift
[104/308] Compiling SwiftFormat EnvironmentEntry.swift
[105/308] Compiling SwiftFormat ExtensionAccessControl.swift
[106/308] Compiling SwiftFormat FileHeader.swift
[107/308] Compiling SwiftFormat FileMacro.swift
[108/308] Compiling SwiftFormat GenericExtensions.swift
[109/308] Compiling SwiftFormat HeaderFileName.swift
[110/308] Compiling SwiftFormat HoistAwait.swift
[111/308] Compiling SwiftFormat HoistPatternLet.swift
[112/308] Compiling SwiftFormat HoistTry.swift
[113/308] Compiling SwiftFormat Indent.swift
[114/308] Compiling SwiftFormat InitCoderUnavailable.swift
[115/308] Compiling SwiftFormat IsEmpty.swift
[135/308] Compiling SwiftFormat AndOperator.swift
[136/308] Compiling SwiftFormat AnyObjectProtocol.swift
[137/308] Compiling SwiftFormat ApplicationMain.swift
[138/308] Compiling SwiftFormat AssertionFailures.swift
[139/308] Compiling SwiftFormat BlankLineAfterImports.swift
[140/308] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[141/308] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[142/308] Compiling SwiftFormat BlankLinesAroundMark.swift
[143/308] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[144/308] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[145/308] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[146/308] Compiling SwiftFormat BlankLinesBetweenImports.swift
[147/308] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[148/308] Compiling SwiftFormat BlockComments.swift
[149/308] Compiling SwiftFormat Braces.swift
[150/308] Compiling SwiftFormat ConditionalAssignment.swift
[151/308] Compiling SwiftFormat ConsecutiveBlankLines.swift
[152/308] Compiling SwiftFormat ConsecutiveSpaces.swift
[153/308] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[229/308] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
[230/308] Compiling SwiftFormat Void.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[231/308] Compiling SwiftFormat Wrap.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[232/308] Compiling SwiftFormat WrapArguments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[233/308] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[234/308] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[235/308] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[236/308] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[237/308] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[238/308] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[239/308] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[240/308] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[241/308] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[242/308] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[243/308] Compiling SwiftFormat SARIFReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[244/308] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[245/308] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[246/308] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
[247/308] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 |     func onComplete(_ block: @escaping () throws -> Void) {
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 |     }
193 |
194 |     func enumerate(inputURL: URL,
    |          `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 |                    outputURL: URL?,
196 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 |     func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
    |          `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 |         let fileOptions = options.fileOptions ?? .default
147 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 |     var completionBlocks = [() throws -> Void]()
136 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 |     func onComplete(_ block: @escaping () throws -> Void) {
    |          `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 |         completionQueue.async(group: group) {
139 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 |     }
351 |     configQueue.async {
352 |         configCache[inputURL] = args
    |                                 `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 |     }
354 |     assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
[286/311] Compiling CommandLineTool main.swift
[287/311] Emitting module CommandLineTool
[289/312] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 739 |         var input: String?
 740 |         var status = Status.idle
 741 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 742 |             status = .started
 743 |             while let line = CLI.readLine() {
[309/313] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[311/315] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                           `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                                  `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[312/315] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                           `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
   |                                  `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
BUILD FAILURE 6.1 android