Build Information
Failed to build SwiftFormat, reference main (a5fa7a), with Swift 6.1 for Android on 27 Apr 2026 23:31:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
| |- 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:1529: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 |
:
1527 | }()
1528 |
1529 | 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
1530 | var inferrers = [String: OptionInferrer]()
1531 | 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:215: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
210 |
211 | /// Version number wrapper
212 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
213 | public let rawValue: String
214 |
215 | 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
216 |
217 | public init(stringLiteral value: String) {
/host/spi-builder-workspace/Sources/Options.swift:367: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
365 | /// File info, used for constructing header comments
366 | public struct FileInfo: Equatable, CustomStringConvertible {
367 | 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
368 | .createdDate: .dynamic { info, options in
369 | info.creationDate?.format(with: options.dateFormat,
/host/spi-builder-workspace/Sources/Options.swift:930: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
782 | /// Configuration options for formatting. These aren't actually used by the
783 | /// Formatter class itself, but it makes them available to the format rules.
784 | public struct FormatOptions: CustomStringConvertible {
| `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
785 | public var lineAfterMarks: Bool
786 | public var indent: String
:
928 | var enabledRules: Set<String> = []
929 |
930 | 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
931 |
932 | public init(lineAfterMarks: Bool = true,
/host/spi-builder-workspace/Sources/Options.swift:1270: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
1261 |
1262 | /// File enumeration options
1263 | public struct FileOptions {
| `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1264 | public var followSymlinks: Bool
1265 | public var supportedFileExtensions: [String]
:
1268 | public var minVersion: Version
1269 |
1270 | 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
1271 |
1272 | public init(followSymlinks: Bool = false,
/host/spi-builder-workspace/Sources/Options.swift:1311: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
1301 |
1302 | /// All options
1303 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1304 | public var fileOptions: FileOptions?
1305 | public var formatOptions: FormatOptions?
:
1309 | public var filterOptions: [Glob: [String: String]]
1310 |
1311 | 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
1312 | fileOptions: .default,
1313 | 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/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:868:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
866 | // If no input file, try stdin
867 | DispatchQueue.global(qos: .userInitiated).async {
868 | 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'
869 | }
870 | // Wait for input
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | 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:3387: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
3385 |
3386 | extension Date {
3387 | 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
3388 | let formatter = DateFormatter()
3389 | formatter.dateFormat = "yyyy"
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:3393: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
3391 | }()
3392 |
3393 | 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
3394 |
3395 | 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:1529: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 |
:
1527 | }()
1528 |
1529 | 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
1530 | var inferrers = [String: OptionInferrer]()
1531 | 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:215: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
210 |
211 | /// Version number wrapper
212 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
213 | public let rawValue: String
214 |
215 | 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
216 |
217 | public init(stringLiteral value: String) {
/host/spi-builder-workspace/Sources/Options.swift:367: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
365 | /// File info, used for constructing header comments
366 | public struct FileInfo: Equatable, CustomStringConvertible {
367 | 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
368 | .createdDate: .dynamic { info, options in
369 | info.creationDate?.format(with: options.dateFormat,
/host/spi-builder-workspace/Sources/Options.swift:930: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
782 | /// Configuration options for formatting. These aren't actually used by the
783 | /// Formatter class itself, but it makes them available to the format rules.
784 | public struct FormatOptions: CustomStringConvertible {
| `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
785 | public var lineAfterMarks: Bool
786 | public var indent: String
:
928 | var enabledRules: Set<String> = []
929 |
930 | 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
931 |
932 | public init(lineAfterMarks: Bool = true,
/host/spi-builder-workspace/Sources/Options.swift:1270: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
1261 |
1262 | /// File enumeration options
1263 | public struct FileOptions {
| `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1264 | public var followSymlinks: Bool
1265 | public var supportedFileExtensions: [String]
:
1268 | public var minVersion: Version
1269 |
1270 | 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
1271 |
1272 | public init(followSymlinks: Bool = false,
/host/spi-builder-workspace/Sources/Options.swift:1311: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
1301 |
1302 | /// All options
1303 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1304 | public var fileOptions: FileOptions?
1305 | public var formatOptions: FormatOptions?
:
1309 | public var filterOptions: [Glob: [String: String]]
1310 |
1311 | 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
1312 | fileOptions: .default,
1313 | 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 |
[351/355] Wrapping AST for SwiftFormat for debugging
[353/357] 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")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[354/357] 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")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/304] Compiling SwiftFormat SpaceInsideBraces.swift
[4/304] Compiling SwiftFormat SpaceInsideBrackets.swift
[5/304] Compiling SwiftFormat SpaceInsideComments.swift
[6/304] Compiling SwiftFormat SpaceInsideGenerics.swift
[7/304] Compiling SwiftFormat SpaceInsideParens.swift
[8/304] Compiling SwiftFormat Specifiers.swift
[9/304] Compiling SwiftFormat StrongOutlets.swift
[10/304] Compiling SwiftFormat StrongifiedSelf.swift
[11/304] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[12/304] Compiling SwiftFormat TestSuiteAccessControl.swift
[13/304] Compiling SwiftFormat ThrowingTests.swift
[14/304] Compiling SwiftFormat Todos.swift
[15/304] Compiling SwiftFormat TrailingClosures.swift
[16/304] Compiling SwiftFormat TrailingCommas.swift
[17/304] Compiling SwiftFormat TrailingSpace.swift
[18/304] Compiling SwiftFormat TypeSugar.swift
[19/304] Compiling SwiftFormat URLMacro.swift
[20/304] Compiling SwiftFormat UnusedArguments.swift
[21/304] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[22/304] Compiling SwiftFormat ValidateTestCases.swift
[23/304] Compiling SwiftFormat Void.swift
[24/325] Compiling SwiftFormat RedundantExtensionACL.swift
[25/325] Compiling SwiftFormat RedundantFileprivate.swift
[26/325] Compiling SwiftFormat RedundantGet.swift
[27/325] Compiling SwiftFormat RedundantInit.swift
[28/325] Compiling SwiftFormat RedundantInternal.swift
[29/325] Compiling SwiftFormat RedundantLet.swift
[30/325] Compiling SwiftFormat RedundantLetError.swift
[31/325] Compiling SwiftFormat RedundantMemberwiseInit.swift
[32/325] Compiling SwiftFormat RedundantNilInit.swift
[33/325] Compiling SwiftFormat RedundantObjc.swift
[34/325] Compiling SwiftFormat RedundantOptionalBinding.swift
[35/325] Compiling SwiftFormat RedundantParens.swift
[36/325] Compiling SwiftFormat RedundantPattern.swift
[37/325] Compiling SwiftFormat RedundantProperty.swift
[38/325] Compiling SwiftFormat RedundantPublic.swift
[39/325] Compiling SwiftFormat RedundantRawValues.swift
[40/325] Compiling SwiftFormat RedundantReturn.swift
[41/325] Compiling SwiftFormat RedundantSelf.swift
[42/325] Compiling SwiftFormat RedundantSendable.swift
[43/325] Compiling SwiftFormat RedundantStaticSelf.swift
[44/325] Compiling SwiftFormat RedundantSwiftTestingSuite.swift
[45/325] Compiling SwiftFormat EmptyExtensions.swift
[46/325] Compiling SwiftFormat EnumNamespaces.swift
[47/325] Compiling SwiftFormat EnvironmentEntry.swift
[48/325] Compiling SwiftFormat ExtensionAccessControl.swift
[49/325] Compiling SwiftFormat FileHeader.swift
[50/325] Compiling SwiftFormat FileMacro.swift
[51/325] Compiling SwiftFormat GenericExtensions.swift
[52/325] Compiling SwiftFormat HeaderFileName.swift
[53/325] Compiling SwiftFormat HoistAwait.swift
[54/325] Compiling SwiftFormat HoistPatternLet.swift
[55/325] Compiling SwiftFormat HoistTry.swift
[56/325] Compiling SwiftFormat Indent.swift
[57/325] Compiling SwiftFormat InitCoderUnavailable.swift
[58/325] Compiling SwiftFormat IsEmpty.swift
[59/325] Compiling SwiftFormat LeadingDelimiters.swift
[60/325] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[61/325] Compiling SwiftFormat Linebreaks.swift
[62/325] Compiling SwiftFormat MarkTypes.swift
[63/325] Compiling SwiftFormat ModifierOrder.swift
[64/325] Compiling SwiftFormat ModifiersOnSameLine.swift
[65/325] Compiling SwiftFormat NoExplicitOwnership.swift
[66/325] Compiling SwiftFormat NoForceTryInTests.swift
[67/325] Compiling SwiftFormat NoForceUnwrapInTests.swift
[68/325] Compiling SwiftFormat NoGuardInTests.swift
[69/325] Compiling SwiftFormat NumberFormatting.swift
[70/325] Compiling SwiftFormat OpaqueGenericParameters.swift
[71/325] Compiling SwiftFormat OrganizeDeclarations.swift
[72/325] Compiling SwiftFormat PreferCountWhere.swift
[73/325] Compiling SwiftFormat PreferExplicitFalse.swift
[74/325] Compiling SwiftFormat PreferFinalClasses.swift
[75/325] Compiling SwiftFormat PreferForLoop.swift
[76/325] Compiling SwiftFormat PreferKeyPath.swift
[77/325] Compiling SwiftFormat PreferSwiftStringAPI.swift
[78/325] Compiling SwiftFormat PreferSwiftTesting.swift
[79/325] Compiling SwiftFormat PrivateStateVariables.swift
[80/325] Compiling SwiftFormat PropertyTypes.swift
[81/325] Compiling SwiftFormat RedundantAsync.swift
[82/325] Compiling SwiftFormat RedundantBackticks.swift
[83/325] Compiling SwiftFormat RedundantBreak.swift
[84/325] Compiling SwiftFormat RedundantClosure.swift
[85/325] Compiling SwiftFormat RedundantEmptyView.swift
[86/325] Compiling SwiftFormat RedundantEquatable.swift
[87/346] Compiling SwiftFormat RedundantThrows.swift
[88/346] Compiling SwiftFormat RedundantType.swift
[89/346] Compiling SwiftFormat RedundantTypedThrows.swift
[90/346] Compiling SwiftFormat RedundantVariable.swift
[91/346] Compiling SwiftFormat RedundantViewBuilder.swift
[92/346] Compiling SwiftFormat RedundantVoidReturnType.swift
[93/346] Compiling SwiftFormat Semicolons.swift
[94/346] Compiling SwiftFormat SimplifyGenericConstraints.swift
[95/346] Compiling SwiftFormat SinglePropertyPerLine.swift
[96/346] Compiling SwiftFormat SortDeclarations.swift
[97/346] Compiling SwiftFormat SortImports.swift
[98/346] Compiling SwiftFormat SortSwitchCases.swift
[99/346] Compiling SwiftFormat SortTypealiases.swift
[100/346] Compiling SwiftFormat SortedImports.swift
[101/346] Compiling SwiftFormat SortedSwitchCases.swift
[102/346] Compiling SwiftFormat SpaceAroundBraces.swift
[103/346] Compiling SwiftFormat SpaceAroundBrackets.swift
[104/346] Compiling SwiftFormat SpaceAroundComments.swift
[105/346] Compiling SwiftFormat SpaceAroundGenerics.swift
[106/346] Compiling SwiftFormat SpaceAroundOperators.swift
[107/346] Compiling SwiftFormat SpaceAroundParens.swift
[192/346] Compiling SwiftFormat CommandLine.swift
[193/346] Compiling SwiftFormat Declaration.swift
[194/346] Compiling SwiftFormat DeclarationType.swift
[195/346] Compiling SwiftFormat EnumAssociable.swift
[196/346] Compiling SwiftFormat FormatRule.swift
[197/346] Compiling SwiftFormat Formatter.swift
[198/346] Compiling SwiftFormat FormattingHelpers.swift
[199/346] Compiling SwiftFormat GitFileInfo.swift
[200/346] Compiling SwiftFormat GithubActionsLogReporter.swift
[201/346] Compiling SwiftFormat Globs.swift
[202/346] Compiling SwiftFormat Inference.swift
[203/346] Compiling SwiftFormat JSONReporter.swift
[204/346] Compiling SwiftFormat OptionDescriptor.swift
[205/346] Compiling SwiftFormat Options.swift
[206/346] Compiling SwiftFormat ParsingHelpers.swift
[207/346] Compiling SwiftFormat Reporter.swift
[208/346] Compiling SwiftFormat RuleRegistry.generated.swift
[209/346] Compiling SwiftFormat Acronyms.swift
[210/346] Compiling SwiftFormat AndOperator.swift
[211/346] Compiling SwiftFormat AnyObjectProtocol.swift
[212/346] Compiling SwiftFormat ApplicationMain.swift
[213/346] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[215/346] Compiling SwiftFormat Wrap.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)
[216/346] Compiling SwiftFormat WrapArguments.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)
[217/346] 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)
[218/346] 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)
[219/346] 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)
[220/346] 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)
[221/346] 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)
[222/346] 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)
[223/346] 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)
[224/346] 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)
[225/346] 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)
[226/346] 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)
[227/346] 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)
[228/346] 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)
[229/346] 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)
[230/346] 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)
[231/346] 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)
[232/346] 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)
[233/346] 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)
[234/346] 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)
[235/346] 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)
/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)
[257/346] Compiling SwiftFormat AssertionFailures.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[258/346] Compiling SwiftFormat BlankLineAfterImports.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[259/346] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[260/346] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[261/346] Compiling SwiftFormat BlankLinesAroundMark.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[262/346] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[263/346] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[264/346] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[265/346] Compiling SwiftFormat BlankLinesBetweenImports.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[266/346] Compiling SwiftFormat BlankLinesBetweenScopes.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[267/346] Compiling SwiftFormat BlockComments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[268/346] Compiling SwiftFormat Braces.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[269/346] Compiling SwiftFormat ConditionalAssignment.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[270/346] Compiling SwiftFormat ConsecutiveBlankLines.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[271/346] Compiling SwiftFormat ConsecutiveSpaces.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[272/346] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[273/346] Compiling SwiftFormat DocComments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[274/346] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[275/346] Compiling SwiftFormat DuplicateImports.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[276/346] Compiling SwiftFormat ElseOnSameLine.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[277/346] Compiling SwiftFormat EmptyBraces.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[278/346] Compiling SwiftFormat Arguments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[280/349] Compiling CommandLineTool main.swift
[281/349] Emitting module CommandLineTool
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:771:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
769 | var input: String?
770 | var status = Status.idle
771 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
772 | status = .started
773 | while let line = CLI.readLine() {
[347/351] Wrapping AST for SwiftFormat for debugging
[349/353] 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")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[350/353] 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")
BUILD FAILURE 6.1 android