The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftFormat, reference 0.63.1 (77d3f8), with Swift 6.1 for Android on 3 Oct 2026 08:41:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

     |                |- 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
3484 |         let formatter = DateFormatter()
3485 |         formatter.dateFormat = "yyyy"
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:3489: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
3487 |     }()
3488 |
3489 |     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
3490 |
3491 |     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:117: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
115 | }
116 |
117 | 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
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:146: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
144 | }
145 |
146 | 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
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/host/spi-builder-workspace/Sources/Inference.swift:1544: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 |
     :
1542 |     }()
1543 |
1544 |     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
1545 |         var inferrers = [String: OptionInferrer]()
1546 |         for (label, value) in Mirror(reflecting: Inference()).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:507: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
 505 | }
 506 |
 507 | 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
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 572 | }
 573 |
 574 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 575 |     let lineAfterMarks = OptionDescriptor(
 576 |         argumentName: "line-after-marks",
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:509: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
 507 | let Descriptors = _Descriptors()
 508 |
 509 | 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
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:530: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
 528 | }()
 529 |
 530 | 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
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:532: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 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | 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
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/host/spi-builder-workspace/Sources/Options.swift:234: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
 229 |
 230 | /// Version number wrapper
 231 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 232 |     public let rawValue: String
 233 |
 234 |     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
 235 |
 236 |     public init(stringLiteral value: String) {
/host/spi-builder-workspace/Sources/Options.swift:386: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
 384 | /// File info, used for constructing header comments
 385 | public struct FileInfo: Equatable, CustomStringConvertible {
 386 |     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
 387 |         .createdDate: .dynamic { info, options in
 388 |             info.creationDate?.format(with: options.dateFormat,
/host/spi-builder-workspace/Sources/Options.swift:1015: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
 860 | /// Configuration options for formatting. These aren't actually used by the
 861 | /// Formatter class itself, but it makes them available to the format rules.
 862 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 863 |     public var lineAfterMarks: Bool
 864 |     public var indent: String
     :
1013 |     var enabledRules: Set<String> = []
1014 |
1015 |     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
1016 |
1017 |     public init(lineAfterMarks: Bool = true,
/host/spi-builder-workspace/Sources/Options.swift:1369: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
1360 |
1361 | /// File enumeration options
1362 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1363 |     public var followSymlinks: Bool
1364 |     public var supportedFileExtensions: [String]
     :
1367 |     public var minVersion: Version
1368 |
1369 |     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
1370 |
1371 |     public init(followSymlinks: Bool = false,
/host/spi-builder-workspace/Sources/Options.swift:1410: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
1400 |
1401 | /// All options
1402 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1403 |     public var fileOptions: FileOptions?
1404 |     public var formatOptions: FormatOptions?
     :
1408 |     public var filterOptions: [Glob: [String: String]]
1409 |
1410 |     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
1411 |         fileOptions: .default,
1412 |         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/Rules/AndOperator.swift:13:16: warning: static property 'andOperator' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 |     /// Replace the `&&` operator with `,` where applicable
13 |     static let andOperator = FormatRule(
   |                |- warning: static property 'andOperator' 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 'andOperator' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         help: "Prefer comma over `&&` in `if`, `guard` or `while` conditions."
15 |     ) { formatter in
/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/AnyObjectProtocol.swift:13:16: warning: static property 'anyObjectProtocol' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 |     /// Prefer `AnyObject` over `class` for class-based protocols
13 |     static let anyObjectProtocol = FormatRule(
   |                |- warning: static property 'anyObjectProtocol' 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 'anyObjectProtocol' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         help: "Prefer `AnyObject` over `class` in protocol definitions."
15 |     ) { formatter in
/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/ApplicationMain.swift:14:16: warning: static property 'applicationMain' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 |     /// Replace the obsolete `@UIApplicationMain` and `@NSApplicationMain`
13 |     /// attributes with `@main` in Swift 5.3 and above, per SE-0383
14 |     static let applicationMain = FormatRule(
   |                |- warning: static property 'applicationMain' 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 'applicationMain' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         help: """
16 |         Replace obsolete `@UIApplicationMain` and `@NSApplicationMain` attributes
/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/AssertionFailures.swift:12:16: warning: static property 'assertionFailures' 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 assertionFailures = FormatRule(
   |                |- warning: static property 'assertionFailures' 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 'assertionFailures' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         help: """
14 |         Changes all instances of `assert(false, ...)` to `assertionFailure(...)`
/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:872:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 870 |             // If no input file, try stdin
 871 |             DispatchQueue.global(qos: .userInitiated).async {
 872 |                 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'
 873 |             }
 874 |             // Wait for input
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             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] = {
    :
197 | }
198 |
199 | public struct _FormatRules {
    |               `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
200 |     fileprivate init() {}
201 | }
/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:3483: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
3481 |
3482 | extension Date {
3483 |     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
3484 |         let formatter = DateFormatter()
3485 |         formatter.dateFormat = "yyyy"
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:3489: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
3487 |     }()
3488 |
3489 |     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
3490 |
3491 |     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:117: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
115 | }
116 |
117 | 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
118 |     let command = "git diff --diff-filter=R --staged --name-status"
119 |     guard let output = command.shellOutput(cwd: root) else { return [] }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:146: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
144 | }
145 |
146 | 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
147 |     { hash, root in (hash ?? "none") + root.relativePath },
148 |     { hash, root in
/host/spi-builder-workspace/Sources/Inference.swift:1544: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 |
     :
1542 |     }()
1543 |
1544 |     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
1545 |         var inferrers = [String: OptionInferrer]()
1546 |         for (label, value) in Mirror(reflecting: Inference()).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:507: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
 505 | }
 506 |
 507 | 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
 508 |
 509 | private var _allDescriptors: [OptionDescriptor] = {
     :
 572 | }
 573 |
 574 | struct _Descriptors {
     |        `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
 575 |     let lineAfterMarks = OptionDescriptor(
 576 |         argumentName: "line-after-marks",
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:509: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
 507 | let Descriptors = _Descriptors()
 508 |
 509 | 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
 510 |     var descriptors = [OptionDescriptor]()
 511 |     for (label, value) in Mirror(reflecting: Descriptors).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:530: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
 528 | }()
 529 |
 530 | 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
 531 |
 532 | private let _formattingDescriptors: [OptionDescriptor] = {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:532: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 | final class OptionDescriptor {
     |             `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
  35 |     enum ArgumentType: EnumAssociable {
  36 |         case binary(true: String, false: String)
     :
 530 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
 531 |
 532 | 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
 533 |     let internalDescriptors = Descriptors.internal.map(\.argumentName)
 534 |     return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/host/spi-builder-workspace/Sources/Options.swift:234: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
 229 |
 230 | /// Version number wrapper
 231 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
     |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 232 |     public let rawValue: String
 233 |
 234 |     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
 235 |
 236 |     public init(stringLiteral value: String) {
/host/spi-builder-workspace/Sources/Options.swift:386: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
 384 | /// File info, used for constructing header comments
 385 | public struct FileInfo: Equatable, CustomStringConvertible {
 386 |     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
 387 |         .createdDate: .dynamic { info, options in
 388 |             info.creationDate?.format(with: options.dateFormat,
/host/spi-builder-workspace/Sources/Options.swift:1015: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
 860 | /// Configuration options for formatting. These aren't actually used by the
 861 | /// Formatter class itself, but it makes them available to the format rules.
 862 | public struct FormatOptions: CustomStringConvertible {
     |               `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
 863 |     public var lineAfterMarks: Bool
 864 |     public var indent: String
     :
1013 |     var enabledRules: Set<String> = []
1014 |
1015 |     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
1016 |
1017 |     public init(lineAfterMarks: Bool = true,
/host/spi-builder-workspace/Sources/Options.swift:1369: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
1360 |
1361 | /// File enumeration options
1362 | public struct FileOptions {
     |               `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1363 |     public var followSymlinks: Bool
1364 |     public var supportedFileExtensions: [String]
     :
1367 |     public var minVersion: Version
1368 |
1369 |     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
1370 |
1371 |     public init(followSymlinks: Bool = false,
/host/spi-builder-workspace/Sources/Options.swift:1410: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
1400 |
1401 | /// All options
1402 | public struct Options {
     |               `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1403 |     public var fileOptions: FileOptions?
1404 |     public var formatOptions: FormatOptions?
     :
1408 |     public var filterOptions: [Glob: [String: String]]
1409 |
1410 |     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
1411 |         fileOptions: .default,
1412 |         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/Rules/AndOperator.swift:13:16: warning: static property 'andOperator' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 |     /// Replace the `&&` operator with `,` where applicable
13 |     static let andOperator = FormatRule(
   |                |- warning: static property 'andOperator' 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 'andOperator' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         help: "Prefer comma over `&&` in `if`, `guard` or `while` conditions."
15 |     ) { formatter in
/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/AnyObjectProtocol.swift:13:16: warning: static property 'anyObjectProtocol' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 |     /// Prefer `AnyObject` over `class` for class-based protocols
13 |     static let anyObjectProtocol = FormatRule(
   |                |- warning: static property 'anyObjectProtocol' 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 'anyObjectProtocol' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |         help: "Prefer `AnyObject` over `class` in protocol definitions."
15 |     ) { formatter in
/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/ApplicationMain.swift:14:16: warning: static property 'applicationMain' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 |     /// Replace the obsolete `@UIApplicationMain` and `@NSApplicationMain`
13 |     /// attributes with `@main` in Swift 5.3 and above, per SE-0383
14 |     static let applicationMain = FormatRule(
   |                |- warning: static property 'applicationMain' 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 'applicationMain' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         help: """
16 |         Replace obsolete `@UIApplicationMain` and `@NSApplicationMain` attributes
/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/AssertionFailures.swift:12:16: warning: static property 'assertionFailures' 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 assertionFailures = FormatRule(
   |                |- warning: static property 'assertionFailures' 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 'assertionFailures' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         help: """
14 |         Changes all instances of `assert(false, ...)` to `assertionFailure(...)`
/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 |
[373/377] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[375/379] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                           `- error: cannot find 'isatty' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                                  `- error: cannot find 'STDERR_FILENO' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[376/379] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                           `- error: cannot find 'isatty' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                                  `- error: cannot find 'STDERR_FILENO' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/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/324] Compiling SwiftFormat RedundantExtensionACL.swift
[4/324] Compiling SwiftFormat RedundantFileprivate.swift
[5/324] Compiling SwiftFormat RedundantGet.swift
[6/324] Compiling SwiftFormat RedundantInit.swift
[7/324] Compiling SwiftFormat RedundantInternal.swift
[8/324] Compiling SwiftFormat RedundantLet.swift
[9/324] Compiling SwiftFormat RedundantLetError.swift
[10/324] Compiling SwiftFormat RedundantMemberwiseInit.swift
[11/324] Compiling SwiftFormat RedundantNilInit.swift
[12/324] Compiling SwiftFormat RedundantObjc.swift
[13/324] Compiling SwiftFormat RedundantOptionalBinding.swift
[14/324] Compiling SwiftFormat RedundantParens.swift
[15/324] Compiling SwiftFormat RedundantPattern.swift
[16/324] Compiling SwiftFormat RedundantProperty.swift
[17/324] Compiling SwiftFormat RedundantPublic.swift
[18/324] Compiling SwiftFormat RedundantRawValues.swift
[19/324] Compiling SwiftFormat RedundantReturn.swift
[20/324] Compiling SwiftFormat RedundantSelf.swift
[21/324] Compiling SwiftFormat RedundantSendable.swift
[22/324] Compiling SwiftFormat RedundantStaticSelf.swift
[23/324] Compiling SwiftFormat RedundantSwiftTestingSuite.swift
[24/324] Compiling SwiftFormat RedundantSwiftUIGroup.swift
[25/346] Compiling SwiftFormat SpaceInsideComments.swift
[26/346] Compiling SwiftFormat SpaceInsideGenerics.swift
[27/346] Compiling SwiftFormat SpaceInsideParens.swift
[28/346] Compiling SwiftFormat Specifiers.swift
[29/346] Compiling SwiftFormat StrongOutlets.swift
[30/346] Compiling SwiftFormat StrongifiedSelf.swift
[31/346] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[32/346] Compiling SwiftFormat TestSuiteAccessControl.swift
[33/346] Compiling SwiftFormat ThrowingTests.swift
[34/346] Compiling SwiftFormat Todos.swift
[35/346] Compiling SwiftFormat TrailingClosures.swift
[36/346] Compiling SwiftFormat TrailingCommas.swift
[37/346] Compiling SwiftFormat TrailingSpace.swift
[38/346] Compiling SwiftFormat TypeSugar.swift
[39/346] Compiling SwiftFormat URLMacro.swift
[40/346] Compiling SwiftFormat UnusedArguments.swift
[41/346] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[42/346] Compiling SwiftFormat ValidateTestCases.swift
[43/346] Compiling SwiftFormat Void.swift
[44/346] Compiling SwiftFormat Wrap.swift
[45/346] Compiling SwiftFormat WrapArguments.swift
[46/346] Compiling SwiftFormat OpaqueGenericParameters.swift
[47/346] Compiling SwiftFormat BlankLineAfterImports.swift
[48/346] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[49/346] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[50/346] Compiling SwiftFormat BlankLinesAroundMark.swift
[51/346] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[52/346] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[53/346] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[54/346] Compiling SwiftFormat BlankLinesBetweenImports.swift
[55/346] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[56/346] Compiling SwiftFormat BlockComments.swift
[57/346] Compiling SwiftFormat Braces.swift
[58/346] Compiling SwiftFormat ConditionalAssignment.swift
[59/346] Compiling SwiftFormat ConsecutiveBlankLines.swift
[60/346] Compiling SwiftFormat ConsecutiveSpaces.swift
[61/346] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[62/346] Compiling SwiftFormat DocComments.swift
[63/346] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[64/346] Compiling SwiftFormat DuplicateImports.swift
[65/346] Compiling SwiftFormat ElseOnSameLine.swift
[66/346] Compiling SwiftFormat EmptyBraces.swift
[67/346] Compiling SwiftFormat EmptyExtensions.swift
[68/346] Compiling SwiftFormat EnumNamespaces.swift
[69/346] Compiling SwiftFormat EnvironmentEntry.swift
[70/368] Compiling SwiftFormat RedundantThrows.swift
[71/368] Compiling SwiftFormat RedundantType.swift
[72/368] Compiling SwiftFormat RedundantTypedThrows.swift
[73/368] Compiling SwiftFormat RedundantVariable.swift
[74/368] Compiling SwiftFormat RedundantViewBuilder.swift
[75/368] Compiling SwiftFormat RedundantVoidReturnType.swift
[76/368] Compiling SwiftFormat Semicolons.swift
[77/368] Compiling SwiftFormat SimplifyGenericConstraints.swift
[78/368] Compiling SwiftFormat SinglePropertyPerLine.swift
[79/368] Compiling SwiftFormat SortDeclarations.swift
[80/368] Compiling SwiftFormat SortImports.swift
[81/368] Compiling SwiftFormat SortSwitchCases.swift
[82/368] Compiling SwiftFormat SortTypealiases.swift
[83/368] Compiling SwiftFormat SortedImports.swift
[84/368] Compiling SwiftFormat SortedSwitchCases.swift
[85/368] Compiling SwiftFormat SpaceAroundBraces.swift
[86/368] Compiling SwiftFormat SpaceAroundBrackets.swift
[87/368] Compiling SwiftFormat SpaceAroundComments.swift
[88/368] Compiling SwiftFormat SpaceAroundGenerics.swift
[89/368] Compiling SwiftFormat SpaceAroundOperators.swift
[90/368] Compiling SwiftFormat SpaceAroundParens.swift
[91/368] Compiling SwiftFormat SpaceInsideBraces.swift
[92/368] Compiling SwiftFormat SpaceInsideBrackets.swift
[93/368] Compiling SwiftFormat OrganizeDeclarations.swift
[94/368] Compiling SwiftFormat PreferContains.swift
[95/368] Compiling SwiftFormat PreferCountWhere.swift
[96/368] Compiling SwiftFormat PreferExplicitFalse.swift
[97/368] Compiling SwiftFormat PreferFinalClasses.swift
[98/368] Compiling SwiftFormat PreferFirstWhere.swift
[99/368] Compiling SwiftFormat PreferFlatMap.swift
[100/368] Compiling SwiftFormat PreferForLoop.swift
[101/368] Compiling SwiftFormat PreferKeyPath.swift
[102/368] Compiling SwiftFormat PreferLazyMap.swift
[103/368] Compiling SwiftFormat PreferMinOverSorted.swift
[104/368] Compiling SwiftFormat PreferSwiftStringAPI.swift
[105/368] Compiling SwiftFormat PreferSwiftTesting.swift
[106/368] Compiling SwiftFormat PrivateStateVariables.swift
[107/368] Compiling SwiftFormat PropertyTypes.swift
[108/368] Compiling SwiftFormat RedundantAsync.swift
[109/368] Compiling SwiftFormat RedundantBackticks.swift
[110/368] Compiling SwiftFormat RedundantBreak.swift
[111/368] Compiling SwiftFormat RedundantClosure.swift
[112/368] Compiling SwiftFormat RedundantEmptyView.swift
[113/368] Compiling SwiftFormat RedundantEquatable.swift
[114/368] Compiling SwiftFormat RedundantExtendedLifetime.swift
[115/368] Compiling SwiftFormat ExtensionAccessControl.swift
[140/368] Compiling SwiftFormat FileHeader.swift
[141/368] Compiling SwiftFormat FileMacro.swift
[142/368] Compiling SwiftFormat GenericExtensions.swift
[143/368] Compiling SwiftFormat HeaderFileName.swift
[144/368] Compiling SwiftFormat HoistAwait.swift
[145/368] Compiling SwiftFormat HoistPatternLet.swift
[146/368] Compiling SwiftFormat HoistTry.swift
[147/368] Compiling SwiftFormat IfExpressions.swift
[148/368] Compiling SwiftFormat Indent.swift
[149/368] Compiling SwiftFormat InitCoderUnavailable.swift
[150/368] Compiling SwiftFormat IsEmpty.swift
[151/368] Compiling SwiftFormat LeadingDelimiters.swift
[152/368] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[153/368] Compiling SwiftFormat Linebreaks.swift
[154/368] Compiling SwiftFormat MarkTypes.swift
[155/368] Compiling SwiftFormat ModifierOrder.swift
[156/368] Compiling SwiftFormat ModifiersOnSameLine.swift
[157/368] Compiling SwiftFormat NoExplicitOwnership.swift
[158/368] Compiling SwiftFormat NoForceTryInTests.swift
[159/368] Compiling SwiftFormat NoForceUnwrapInTests.swift
[160/368] Compiling SwiftFormat NoGuardInTests.swift
[161/368] Compiling SwiftFormat NumberFormatting.swift
[162/368] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[163/368] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[164/368] Compiling SwiftFormat WrapCaseBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[165/368] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[166/368] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[167/368] Compiling SwiftFormat WrapFunctionBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[168/368] Compiling SwiftFormat WrapGuardStatementBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[169/368] Compiling SwiftFormat WrapIfExpressionBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[170/368] Compiling SwiftFormat WrapIfStatementBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[171/368] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[172/368] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[173/368] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[174/368] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[175/368] Compiling SwiftFormat WrapPropertyBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[176/368] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[177/368] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[178/368] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[179/368] Compiling SwiftFormat SARIFReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[180/368] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[181/368] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[182/368] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[183/368] Compiling SwiftFormat TypeName.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[184/368] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[185/368] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |     func onComplete(_ block: @escaping () throws -> Void) {
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
    |             `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |         }
153 |     }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 |     }
205 |
206 |     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
207 |                    outputURL: URL?,
208 |                    options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 |     let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 |     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
158 |         let fileOptions = options.fileOptions ?? .default
159 |         let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 |     var completionBlocks = [() throws -> Void]()
148 |     let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 |     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
150 |         completionQueue.async(group: group) {
151 |             completionBlocks.append(block)
[297/368] Compiling SwiftFormat Arguments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[298/368] Compiling SwiftFormat CommandLine.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[299/368] Compiling SwiftFormat Declaration.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[300/368] Compiling SwiftFormat DeclarationType.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[301/368] Compiling SwiftFormat EnumAssociable.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[302/368] Compiling SwiftFormat FormatRule.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[303/368] Compiling SwiftFormat Formatter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[304/368] Compiling SwiftFormat FormattingHelpers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[305/368] Compiling SwiftFormat GitFileInfo.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[306/368] Compiling SwiftFormat GithubActionsLogReporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[307/368] Compiling SwiftFormat Globs.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[308/368] Compiling SwiftFormat Inference.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[309/368] Compiling SwiftFormat JSONReporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[310/368] Compiling SwiftFormat OptionDescriptor.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[311/368] Compiling SwiftFormat Options.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[312/368] Compiling SwiftFormat ParsingHelpers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[313/368] Compiling SwiftFormat Reporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[314/368] Compiling SwiftFormat RuleRegistry.generated.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[315/368] Compiling SwiftFormat Acronyms.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[316/368] Compiling SwiftFormat AndOperator.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[317/368] Compiling SwiftFormat AnyObjectProtocol.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[318/368] Compiling SwiftFormat ApplicationMain.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[319/368] Compiling SwiftFormat AssertionFailures.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:775:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 773 |         var input: String?
 774 |         var status = Status.idle
 775 |         func processFromStdin() {
     |              `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 776 |             status = .started
 777 |             while let line = CLI.readLine() {
[320/369] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[322/371] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                           `- error: cannot find 'isatty' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                                  `- error: cannot find 'STDERR_FILENO' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[323/371] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                           `- error: cannot find 'isatty' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
 74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
 75 |
 76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
    |                                  `- error: cannot find 'STDERR_FILENO' in scope
 77 |
 78 | private let printQueue = DispatchQueue(label: "swiftformat.print")
BUILD FAILURE 6.1 android