Build Information
Successful build of SwiftLint, reference 0.57.0 (168fb9
), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:57:44 UTC.
Swift 6 data race errors: 33
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[711/730] Compiling SwiftLintCore Correction.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+IndentationStyle.swift:10:28: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Configuration {
2 | /// The style of indentation used in a Swift project.
3 | enum IndentationStyle: Hashable {
| `- note: consider making enum 'IndentationStyle' conform to the 'Sendable' protocol
4 | /// Swift source code should be indented using tabs.
5 | case tabs
:
8 |
9 | /// The default indentation style if none is explicitly provided.
10 | package static let `default` = spaces(count: 4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Creates an indentation style based on an untyped configuration value.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftLint version.
2 | public struct Version: VersionComparable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
:
10 |
11 | /// The current SwiftLint version.
12 | public static let current = Self(value: "0.57.0")
| |- warning: static property 'current' 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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Public initializer.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedNetworkResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[712/730] Compiling SwiftLintCore CustomRuleTimer.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+IndentationStyle.swift:10:28: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Configuration {
2 | /// The style of indentation used in a Swift project.
3 | enum IndentationStyle: Hashable {
| `- note: consider making enum 'IndentationStyle' conform to the 'Sendable' protocol
4 | /// Swift source code should be indented using tabs.
5 | case tabs
:
8 |
9 | /// The default indentation style if none is explicitly provided.
10 | package static let `default` = spaces(count: 4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Creates an indentation style based on an untyped configuration value.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftLint version.
2 | public struct Version: VersionComparable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
:
10 |
11 | /// The current SwiftLint version.
12 | public static let current = Self(value: "0.57.0")
| |- warning: static property 'current' 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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Public initializer.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedNetworkResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[713/730] Compiling SwiftLintCore Example.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+IndentationStyle.swift:10:28: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Configuration {
2 | /// The style of indentation used in a Swift project.
3 | enum IndentationStyle: Hashable {
| `- note: consider making enum 'IndentationStyle' conform to the 'Sendable' protocol
4 | /// Swift source code should be indented using tabs.
5 | case tabs
:
8 |
9 | /// The default indentation style if none is explicitly provided.
10 | package static let `default` = spaces(count: 4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Creates an indentation style based on an untyped configuration value.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftLint version.
2 | public struct Version: VersionComparable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
:
10 |
11 | /// The current SwiftLint version.
12 | public static let current = Self(value: "0.57.0")
| |- warning: static property 'current' 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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Public initializer.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedNetworkResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[714/730] Compiling SwiftLintCore HashableConfigurationRuleWrapperWrapper.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+IndentationStyle.swift:10:28: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Configuration {
2 | /// The style of indentation used in a Swift project.
3 | enum IndentationStyle: Hashable {
| `- note: consider making enum 'IndentationStyle' conform to the 'Sendable' protocol
4 | /// Swift source code should be indented using tabs.
5 | case tabs
:
8 |
9 | /// The default indentation style if none is explicitly provided.
10 | package static let `default` = spaces(count: 4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Creates an indentation style based on an untyped configuration value.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftLint version.
2 | public struct Version: VersionComparable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
:
10 |
11 | /// The current SwiftLint version.
12 | public static let current = Self(value: "0.57.0")
| |- warning: static property 'current' 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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Public initializer.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedNetworkResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[715/730] Compiling SwiftLintCore Issue.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+IndentationStyle.swift:10:28: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Configuration {
2 | /// The style of indentation used in a Swift project.
3 | enum IndentationStyle: Hashable {
| `- note: consider making enum 'IndentationStyle' conform to the 'Sendable' protocol
4 | /// Swift source code should be indented using tabs.
5 | case tabs
:
8 |
9 | /// The default indentation style if none is explicitly provided.
10 | package static let `default` = spaces(count: 4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Creates an indentation style based on an untyped configuration value.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftLint version.
2 | public struct Version: VersionComparable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
:
10 |
11 | /// The current SwiftLint version.
12 | public static let current = Self(value: "0.57.0")
| |- warning: static property 'current' 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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Public initializer.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedNetworkResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[716/730] Compiling SwiftLintCore Linter.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+IndentationStyle.swift:10:28: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Configuration {
2 | /// The style of indentation used in a Swift project.
3 | enum IndentationStyle: Hashable {
| `- note: consider making enum 'IndentationStyle' conform to the 'Sendable' protocol
4 | /// Swift source code should be indented using tabs.
5 | case tabs
:
8 |
9 | /// The default indentation style if none is explicitly provided.
10 | package static let `default` = spaces(count: 4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Creates an indentation style based on an untyped configuration value.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftLint version.
2 | public struct Version: VersionComparable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
:
10 |
11 | /// The current SwiftLint version.
12 | public static let current = Self(value: "0.57.0")
| |- warning: static property 'current' 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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Public initializer.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedNetworkResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[717/730] Compiling SwiftLintCore LinterCache.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+IndentationStyle.swift:10:28: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Configuration {
2 | /// The style of indentation used in a Swift project.
3 | enum IndentationStyle: Hashable {
| `- note: consider making enum 'IndentationStyle' conform to the 'Sendable' protocol
4 | /// Swift source code should be indented using tabs.
5 | case tabs
:
8 |
9 | /// The default indentation style if none is explicitly provided.
10 | package static let `default` = spaces(count: 4)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration.IndentationStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Creates an indentation style based on an untyped configuration value.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A type describing the SwiftLint version.
2 | public struct Version: VersionComparable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
3 | /// The string value for this version.
4 | public let value: String
:
10 |
11 | /// The current SwiftLint version.
12 | public static let current = Self(value: "0.57.0")
| |- warning: static property 'current' 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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Public initializer.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedNetworkResults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| |- warning: static property 'printDeprecationWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printDeprecationWarnings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printDeprecationWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:95:24: warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | }
94 |
95 | private static var messageConsumer: ((String) -> Void)?
| |- warning: static property 'messageConsumer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageConsumer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'messageConsumer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Wraps any `Error` into a `SwiftLintError.genericWarning` if it is not already a `SwiftLintError`.
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:13: warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |
150 | /// Represents a file that can be linted for style violations and corrections after being collected.
151 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
152 | /// The file to lint with this linter.
153 | public let file: SwiftLintFile
:
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Linter.swift:198:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | public func collect(into storage: RuleStorage) -> CollectedLinter {
197 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
198 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 | }
200 | return CollectedLinter(from: self)
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[718/730] Compiling SwiftLintCore XcodeReporter.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[719/730] Compiling SwiftLintCore CodeIndentingRewriter.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[720/730] Compiling SwiftLintCore RegexConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[721/730] Compiling SwiftLintCore SeverityLevelsConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[722/730] Compiling SwiftLintCore CoreRules.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[723/730] Compiling SwiftLintCore CustomRules.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[724/730] Compiling SwiftLintCore SuperfluousDisableCommandRule.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[725/730] Compiling SwiftLintCore CommandVisitor.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[726/730] Compiling SwiftLintCore DeclaredIdentifiersTrackingVisitor.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[727/730] Compiling SwiftLintCore ViolationsSyntaxVisitor.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:18:16: warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| `- warning: static property 'allKinds' is not concurrency-safe because non-'Sendable' type 'Set<SyntaxKind>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift:3:13: note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
1 | /// Syntax kind values.
2 | /// Found in `strings SourceKitService | grep source.lang.swift.syntaxtype.`.
3 | public enum SyntaxKind: String, CaseIterable {
| `- note: enum 'SyntaxKind' does not conform to the 'Sendable' protocol
4 | /// `argument`.
5 | case argument = "source.lang.swift.syntaxtype.argument"
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public extension SyntaxKind {
:
16 | ]
17 |
18 | static let allKinds: Set<SyntaxKind> = [
| |- note: annotate 'allKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .argument, .attributeBuiltin, .attributeID, .buildconfigID,
20 | .buildconfigKeyword, .comment, .commentMark, .commentURL,
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift:129:23: warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A single option of a ``RuleConfigurationDescription``.
127 | public struct RuleConfigurationOption: Equatable {
| `- note: consider making struct 'RuleConfigurationOption' conform to the 'Sendable' protocol
128 | /// An option serving as a marker for an empty configuration description.
129 | public static let noOptions = Self(key: "<nothing>", value: .empty)
| |- warning: static property 'noOptions' is not concurrency-safe because non-'Sendable' type 'RuleConfigurationOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | fileprivate let key: String
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/CustomRuleTimer.swift:10:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Utility to measure the time spent in each custom rule.
4 | public final class CustomRuleTimer {
| `- note: class 'CustomRuleTimer' does not conform to the 'Sendable' protocol
5 | private let lock = NSLock()
6 | private var ruleIDForTimes = [String: [TimeInterval]]()
:
8 |
9 | /// Singleton.
10 | public static let shared = CustomRuleTimer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CustomRuleTimer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Tell the timer it should record time spent in rules.
[728/959] Emitting module SwiftLintExtraRules
[729/959] Compiling SwiftLintExtraRules Exports.swift
[730/959] Compiling SwiftLintExtraRules ExtraRules.swift
[731/959] Compiling SwiftLintBuiltInRules NSNumberInitAsFunctionReferenceRule.swift
[732/959] Compiling SwiftLintBuiltInRules NSObjectPreferIsEqualRule.swift
[733/959] Compiling SwiftLintBuiltInRules NSObjectPreferIsEqualRuleExamples.swift
[734/959] Compiling SwiftLintBuiltInRules NonOptionalStringDataConversionRule.swift
[735/959] Compiling SwiftLintBuiltInRules NotificationCenterDetachmentRule.swift
[736/959] Compiling SwiftLintBuiltInRules NotificationCenterDetachmentRuleExamples.swift
[737/959] Compiling SwiftLintBuiltInRules OptionalDataStringConversionRule.swift
[738/959] Compiling SwiftLintBuiltInRules OrphanedDocCommentRule.swift
[739/959] Compiling SwiftLintBuiltInRules OverriddenSuperCallRule.swift
[740/959] Compiling SwiftLintBuiltInRules OverrideInExtensionRule.swift
[741/959] Compiling SwiftLintBuiltInRules PeriodSpacingRule.swift
[742/959] Compiling SwiftLintBuiltInRules PrivateActionRule.swift
[743/959] Compiling SwiftLintBuiltInRules PrivateOutletRule.swift
[744/959] Compiling SwiftLintBuiltInRules PrivateSubjectRule.swift
[745/959] Compiling SwiftLintBuiltInRules PrivateSubjectRuleExamples.swift
[746/959] Compiling SwiftLintBuiltInRules PrivateSwiftUIStatePropertyRule.swift
[747/959] Compiling SwiftLintBuiltInRules PrivateSwiftUIStatePropertyRuleExamples.swift
[748/959] Compiling SwiftLintBuiltInRules PrivateUnitTestRule.swift
[749/959] Compiling SwiftLintBuiltInRules ProhibitedInterfaceBuilderRule.swift
[750/959] Compiling SwiftLintBuiltInRules ProhibitedSuperRule.swift
[751/959] Compiling SwiftLintBuiltInRules QuickDiscouragedCallRule.swift
[752/959] Compiling SwiftLintBuiltInRules QuickDiscouragedCallRuleExamples.swift
[753/959] Compiling SwiftLintBuiltInRules QuickDiscouragedFocusedTestRule.swift
[754/959] Compiling SwiftLintBuiltInRules QuickDiscouragedFocusedTestRuleExamples.swift
[755/959] Compiling SwiftLintBuiltInRules QuickDiscouragedPendingTestRule.swift
[756/959] Compiling SwiftLintBuiltInRules LastWhereRule.swift
[757/959] Compiling SwiftLintBuiltInRules ReduceBooleanRule.swift
[758/959] Compiling SwiftLintBuiltInRules ReduceIntoRule.swift
[759/959] Compiling SwiftLintBuiltInRules SortedFirstLastRule.swift
[760/959] Compiling SwiftLintBuiltInRules AttributesConfiguration.swift
[761/959] Compiling SwiftLintBuiltInRules BlanketDisableCommandConfiguration.swift
[762/959] Compiling SwiftLintBuiltInRules CollectionAlignmentConfiguration.swift
[763/959] Compiling SwiftLintBuiltInRules ColonConfiguration.swift
[764/959] Compiling SwiftLintBuiltInRules ComputedAccessorsOrderConfiguration.swift
[765/959] Compiling SwiftLintBuiltInRules ConditionalReturnsOnNewlineConfiguration.swift
[766/959] Compiling SwiftLintBuiltInRules CyclomaticComplexityConfiguration.swift
[767/959] Compiling SwiftLintBuiltInRules DeploymentTargetConfiguration.swift
[768/959] Compiling SwiftLintBuiltInRules DiscouragedDirectInitConfiguration.swift
[769/959] Compiling SwiftLintBuiltInRules EmptyCountConfiguration.swift
[770/959] Compiling SwiftLintBuiltInRules ExpiringTodoConfiguration.swift
[771/959] Compiling SwiftLintBuiltInRules ExplicitInitConfiguration.swift
[772/959] Compiling SwiftLintBuiltInRules ExplicitTypeInterfaceConfiguration.swift
[773/959] Compiling SwiftLintBuiltInRules FileHeaderConfiguration.swift
[774/959] Compiling SwiftLintBuiltInRules FileLengthConfiguration.swift
[775/959] Compiling SwiftLintBuiltInRules FileNameConfiguration.swift
[776/959] Compiling SwiftLintBuiltInRules FileNameNoSpaceConfiguration.swift
[777/959] Compiling SwiftLintBuiltInRules FileTypesOrderConfiguration.swift
[778/959] Compiling SwiftLintBuiltInRules ForWhereConfiguration.swift
[779/959] Compiling SwiftLintBuiltInRules FunctionParameterCountConfiguration.swift
[780/959] Compiling SwiftLintBuiltInRules IdentifierNameConfiguration.swift
[781/959] Compiling SwiftLintBuiltInRules SyntacticSugarRuleExamples.swift
[782/959] Compiling SwiftLintBuiltInRules ToggleBoolRule.swift
[783/959] Compiling SwiftLintBuiltInRules TrailingSemicolonRule.swift
[784/959] Compiling SwiftLintBuiltInRules TypeNameRule.swift
[785/959] Compiling SwiftLintBuiltInRules TypeNameRuleExamples.swift
[786/959] Compiling SwiftLintBuiltInRules UnavailableConditionRule.swift
[787/959] Compiling SwiftLintBuiltInRules UnavailableFunctionRule.swift
[788/959] Compiling SwiftLintBuiltInRules UnneededBreakInSwitchRule.swift
[789/959] Compiling SwiftLintBuiltInRules UnneededSynthesizedInitializerRule.swift
[790/959] Compiling SwiftLintBuiltInRules UnneededSynthesizedInitializerRuleExamples.swift
[791/959] Compiling SwiftLintBuiltInRules UntypedErrorInCatchRule.swift
[792/959] Compiling SwiftLintBuiltInRules UnusedEnumeratedRule.swift
[793/959] Compiling SwiftLintBuiltInRules VoidFunctionInTernaryConditionRule.swift
[794/959] Compiling SwiftLintBuiltInRules XCTFailMessageRule.swift
[795/959] Compiling SwiftLintBuiltInRules XCTSpecificMatcherRule.swift
[796/959] Compiling SwiftLintBuiltInRules XCTSpecificMatcherRuleExamples.swift
[797/959] Compiling SwiftLintBuiltInRules AccessibilityLabelForImageRule.swift
[798/959] Compiling SwiftLintBuiltInRules AccessibilityLabelForImageRuleExamples.swift
[799/959] Compiling SwiftLintBuiltInRules AccessibilityTraitForButtonRule.swift
[800/959] Compiling SwiftLintBuiltInRules AccessibilityTraitForButtonRuleExamples.swift
[801/959] Compiling SwiftLintBuiltInRules ArrayInitRule.swift
[802/959] Compiling SwiftLintBuiltInRules BalancedXCTestLifecycleRule.swift
[803/959] Compiling SwiftLintBuiltInRules BlanketDisableCommandRule.swift
[804/959] Compiling SwiftLintBuiltInRules CaptureVariableRule.swift
[805/959] Compiling SwiftLintBuiltInRules ClassDelegateProtocolRule.swift
[806/1034] Compiling SwiftLintBuiltInRules QuickDiscouragedPendingTestRuleExamples.swift
[807/1034] Compiling SwiftLintBuiltInRules RawValueForCamelCasedCodableEnumRule.swift
[808/1034] Compiling SwiftLintBuiltInRules RequiredDeinitRule.swift
[809/1034] Compiling SwiftLintBuiltInRules RequiredEnumCaseRule.swift
[810/1034] Compiling SwiftLintBuiltInRules SelfInPropertyInitializationRule.swift
[811/1034] Compiling SwiftLintBuiltInRules StrongIBOutletRule.swift
[812/1034] Compiling SwiftLintBuiltInRules TestCaseAccessibilityRule.swift
[813/1034] Compiling SwiftLintBuiltInRules TestCaseAccessibilityRuleExamples.swift
[814/1034] Compiling SwiftLintBuiltInRules TodoRule.swift
[815/1034] Compiling SwiftLintBuiltInRules TypesafeArrayInitRule.swift
[816/1034] Compiling SwiftLintBuiltInRules UnhandledThrowingTaskRule.swift
[817/1034] Compiling SwiftLintBuiltInRules UnneededOverrideRule.swift
[818/1034] Compiling SwiftLintBuiltInRules UnneededOverrideRuleExamples.swift
[819/1034] Compiling SwiftLintBuiltInRules UnownedVariableCaptureRule.swift
[820/1034] Compiling SwiftLintBuiltInRules UnusedCaptureListRule.swift
[821/1034] Compiling SwiftLintBuiltInRules UnusedClosureParameterRule.swift
[822/1034] Compiling SwiftLintBuiltInRules UnusedClosureParameterRuleExamples.swift
[823/1034] Compiling SwiftLintBuiltInRules UnusedControlFlowLabelRule.swift
[824/1034] Compiling SwiftLintBuiltInRules UnusedDeclarationRule.swift
[825/1034] Compiling SwiftLintBuiltInRules UnusedDeclarationRuleExamples.swift
[826/1034] Compiling SwiftLintBuiltInRules UnusedImportRule.swift
[827/1034] Compiling SwiftLintBuiltInRules UnusedImportRuleExamples.swift
[828/1034] Compiling SwiftLintBuiltInRules UnusedParameterRule.swift
[829/1034] Compiling SwiftLintBuiltInRules UnusedSetterValueRule.swift
[830/1034] Compiling SwiftLintBuiltInRules ValidIBInspectableRule.swift
[831/1034] Compiling SwiftLintBuiltInRules NoGroupingExtensionRule.swift
[832/1034] Compiling SwiftLintBuiltInRules NoMagicNumbersRule.swift
[833/1034] Compiling SwiftLintBuiltInRules ObjectLiteralRule.swift
[834/1034] Compiling SwiftLintBuiltInRules OneDeclarationPerFileRule.swift
[835/1034] Compiling SwiftLintBuiltInRules PatternMatchingKeywordsRule.swift
[836/1034] Compiling SwiftLintBuiltInRules PreferKeyPathRule.swift
[837/1034] Compiling SwiftLintBuiltInRules PreferNimbleRule.swift
[838/1034] Compiling SwiftLintBuiltInRules PreferTypeCheckingRule.swift
[839/1034] Compiling SwiftLintBuiltInRules PreferZeroOverExplicitInitRule.swift
[840/1034] Compiling SwiftLintBuiltInRules PrivateOverFilePrivateRule.swift
[841/1034] Compiling SwiftLintBuiltInRules RedundantNilCoalescingRule.swift
[842/1034] Compiling SwiftLintBuiltInRules RedundantObjcAttributeRule.swift
[843/1034] Compiling SwiftLintBuiltInRules RedundantObjcAttributeRuleExamples.swift
[844/1034] Compiling SwiftLintBuiltInRules RedundantOptionalInitializationRule.swift
[845/1034] Compiling SwiftLintBuiltInRules RedundantSetAccessControlRule.swift
[846/1034] Compiling SwiftLintBuiltInRules RedundantStringEnumValueRule.swift
[847/1034] Compiling SwiftLintBuiltInRules RedundantTypeAnnotationRule.swift
[848/1034] Compiling SwiftLintBuiltInRules RedundantVoidReturnRule.swift
[849/1034] Compiling SwiftLintBuiltInRules ReturnValueFromVoidFunctionRule.swift
[850/1034] Compiling SwiftLintBuiltInRules ReturnValueFromVoidFunctionRuleExamples.swift
[851/1034] Compiling SwiftLintBuiltInRules ShorthandOptionalBindingRule.swift
[852/1034] Compiling SwiftLintBuiltInRules StaticOperatorRule.swift
[853/1034] Compiling SwiftLintBuiltInRules StaticOverFinalClassRule.swift
[854/1034] Compiling SwiftLintBuiltInRules StrictFilePrivateRule.swift
[855/1034] Compiling SwiftLintBuiltInRules SyntacticSugarRule.swift
[856/1082] Compiling SwiftLintBuiltInRules Exports.swift
[857/1082] Compiling SwiftLintBuiltInRules SourceKittenDictionary+SwiftUI.swift
[858/1082] Compiling SwiftLintBuiltInRules LegacyFunctionRuleHelper.swift
[859/1082] Compiling SwiftLintBuiltInRules BuiltInRules.swift
[860/1082] Compiling SwiftLintBuiltInRules ImportUsage.swift
[861/1082] Compiling SwiftLintBuiltInRules AnonymousArgumentInMultilineClosureRule.swift
[862/1082] Compiling SwiftLintBuiltInRules BlockBasedKVORule.swift
[863/1082] Compiling SwiftLintBuiltInRules ConvenienceTypeRule.swift
[864/1082] Compiling SwiftLintBuiltInRules DiscouragedAssertRule.swift
[865/1082] Compiling SwiftLintBuiltInRules DiscouragedNoneNameRule.swift
[866/1082] Compiling SwiftLintBuiltInRules DiscouragedObjectLiteralRule.swift
[867/1082] Compiling SwiftLintBuiltInRules DiscouragedOptionalBooleanRule.swift
[868/1082] Compiling SwiftLintBuiltInRules DiscouragedOptionalBooleanRuleExamples.swift
[869/1082] Compiling SwiftLintBuiltInRules DiscouragedOptionalCollectionExamples.swift
[870/1082] Compiling SwiftLintBuiltInRules DiscouragedOptionalCollectionRule.swift
[871/1082] Compiling SwiftLintBuiltInRules DuplicateImportsRule.swift
[872/1082] Compiling SwiftLintBuiltInRules DuplicateImportsRuleExamples.swift
[873/1082] Compiling SwiftLintBuiltInRules ExplicitACLRule.swift
[874/1082] Compiling SwiftLintBuiltInRules ExplicitEnumRawValueRule.swift
[875/1082] Compiling SwiftLintBuiltInRules ExplicitInitRule.swift
[876/1082] Compiling SwiftLintBuiltInRules ExplicitTopLevelACLRule.swift
[877/1082] Compiling SwiftLintBuiltInRules ExplicitTypeInterfaceRule.swift
[878/1082] Compiling SwiftLintBuiltInRules ExtensionAccessModifierRule.swift
[879/1082] Compiling SwiftLintBuiltInRules FallthroughRule.swift
[880/1082] Compiling SwiftLintBuiltInRules FatalErrorMessageRule.swift
[881/1082] Compiling SwiftLintBuiltInRules WeakDelegateRule.swift
[882/1082] Compiling SwiftLintBuiltInRules YodaConditionRule.swift
[883/1082] Compiling SwiftLintBuiltInRules ClosureBodyLengthRule.swift
[884/1082] Compiling SwiftLintBuiltInRules ClosureBodyLengthRuleExamples.swift
[885/1082] Compiling SwiftLintBuiltInRules CyclomaticComplexityRule.swift
[886/1082] Compiling SwiftLintBuiltInRules EnumCaseAssociatedValuesLengthRule.swift
[887/1082] Compiling SwiftLintBuiltInRules FileLengthRule.swift
[888/1082] Compiling SwiftLintBuiltInRules FunctionBodyLengthRule.swift
[889/1082] Compiling SwiftLintBuiltInRules FunctionParameterCountRule.swift
[890/1082] Compiling SwiftLintBuiltInRules LargeTupleRule.swift
[891/1082] Compiling SwiftLintBuiltInRules LargeTupleRuleExamples.swift
[892/1082] Compiling SwiftLintBuiltInRules LineLengthRule.swift
[893/1082] Compiling SwiftLintBuiltInRules NestingRule.swift
[894/1082] Compiling SwiftLintBuiltInRules NestingRuleExamples.swift
[895/1082] Compiling SwiftLintBuiltInRules TypeBodyLengthRule.swift
[896/1082] Compiling SwiftLintBuiltInRules ContainsOverFilterCountRule.swift
[897/1082] Compiling SwiftLintBuiltInRules ContainsOverFilterIsEmptyRule.swift
[898/1082] Compiling SwiftLintBuiltInRules ContainsOverFirstNotNilRule.swift
[899/1082] Compiling SwiftLintBuiltInRules ContainsOverRangeNilComparisonRule.swift
[900/1082] Compiling SwiftLintBuiltInRules EmptyCollectionLiteralRule.swift
[901/1082] Compiling SwiftLintBuiltInRules EmptyCountRule.swift
[902/1082] Compiling SwiftLintBuiltInRules EmptyStringRule.swift
[903/1082] Compiling SwiftLintBuiltInRules FinalTestCaseRule.swift
[904/1082] Compiling SwiftLintBuiltInRules FirstWhereRule.swift
[905/1082] Compiling SwiftLintBuiltInRules FlatMapOverMapReduceRule.swift
[906/1106] Compiling SwiftLintBuiltInRules RedundantVoidReturnConfiguration.swift
[907/1106] Compiling SwiftLintBuiltInRules RequiredEnumCaseConfiguration.swift
[908/1106] Compiling SwiftLintBuiltInRules SelfBindingConfiguration.swift
[909/1106] Compiling SwiftLintBuiltInRules ShorthandArgumentConfiguration.swift
[910/1106] Compiling SwiftLintBuiltInRules SortedImportsConfiguration.swift
[911/1106] Compiling SwiftLintBuiltInRules StatementPositionConfiguration.swift
[912/1106] Compiling SwiftLintBuiltInRules SwitchCaseAlignmentConfiguration.swift
[913/1106] Compiling SwiftLintBuiltInRules TestCaseAccessibilityConfiguration.swift
[914/1106] Compiling SwiftLintBuiltInRules TodoConfiguration.swift
[915/1106] Compiling SwiftLintBuiltInRules TrailingClosureConfiguration.swift
[916/1106] Compiling SwiftLintBuiltInRules TrailingCommaConfiguration.swift
[917/1106] Compiling SwiftLintBuiltInRules TrailingWhitespaceConfiguration.swift
[918/1106] Compiling SwiftLintBuiltInRules TypeContentsOrderConfiguration.swift
[919/1106] Compiling SwiftLintBuiltInRules TypeNameConfiguration.swift
[920/1106] Compiling SwiftLintBuiltInRules UnitTestConfiguration.swift
[921/1106] Compiling SwiftLintBuiltInRules UnneededOverrideRuleConfiguration.swift
[922/1106] Compiling SwiftLintBuiltInRules UnusedDeclarationConfiguration.swift
[923/1106] Compiling SwiftLintBuiltInRules UnusedImportConfiguration.swift
[924/1106] Compiling SwiftLintBuiltInRules UnusedOptionalBindingConfiguration.swift
[925/1106] Compiling SwiftLintBuiltInRules VerticalWhitespaceClosingBracesConfiguration.swift
[926/1106] Compiling SwiftLintBuiltInRules VerticalWhitespaceConfiguration.swift
[927/1106] Compiling SwiftLintBuiltInRules XCTSpecificMatcherConfiguration.swift
[928/1106] Compiling SwiftLintBuiltInRules AttributeNameSpacingRule.swift
[929/1106] Compiling SwiftLintBuiltInRules AttributesRule.swift
[930/1106] Compiling SwiftLintBuiltInRules AttributesRuleExamples.swift
[931/1106] Compiling SwiftLintBuiltInRules ClosingBraceRule.swift
[932/1106] Compiling SwiftLintBuiltInRules ClosureEndIndentationRule.swift
[933/1106] Compiling SwiftLintBuiltInRules ClosureEndIndentationRuleExamples.swift
[934/1106] Compiling SwiftLintBuiltInRules ClosureParameterPositionRule.swift
[935/1106] Compiling SwiftLintBuiltInRules ClosureSpacingRule.swift
[936/1106] Compiling SwiftLintBuiltInRules CollectionAlignmentRule.swift
[937/1106] Compiling SwiftLintBuiltInRules ColonRule.swift
[938/1106] Compiling SwiftLintBuiltInRules ColonRuleExamples.swift
[939/1106] Compiling SwiftLintBuiltInRules CommaInheritanceRule.swift
[940/1106] Compiling SwiftLintBuiltInRules CommaRule.swift
[941/1106] Compiling SwiftLintBuiltInRules ComputedAccessorsOrderRule.swift
[942/1106] Compiling SwiftLintBuiltInRules ComputedAccessorsOrderRuleExamples.swift
[943/1106] Compiling SwiftLintBuiltInRules ConditionalReturnsOnNewlineRule.swift
[944/1106] Compiling SwiftLintBuiltInRules ContrastedOpeningBraceRule.swift
[945/1106] Compiling SwiftLintBuiltInRules ContrastedOpeningBraceRuleExamples.swift
[946/1106] Compiling SwiftLintBuiltInRules ControlStatementRule.swift
[947/1106] Compiling SwiftLintBuiltInRules DirectReturnRule.swift
[948/1106] Compiling SwiftLintBuiltInRules EmptyEnumArgumentsRule.swift
[949/1106] Compiling SwiftLintBuiltInRules EmptyParametersRule.swift
[950/1106] Compiling SwiftLintBuiltInRules EmptyParenthesesWithTrailingClosureRule.swift
[951/1106] Compiling SwiftLintBuiltInRules ExplicitSelfRule.swift
[952/1106] Compiling SwiftLintBuiltInRules ExplicitSelfRuleExamples.swift
[953/1106] Compiling SwiftLintBuiltInRules FileHeaderRule.swift
[954/1106] Compiling SwiftLintBuiltInRules FileTypesOrderRule.swift
[955/1106] Compiling SwiftLintBuiltInRules FileTypesOrderRuleExamples.swift
[956/1106] Compiling SwiftLintBuiltInRules ImplicitReturnConfiguration.swift
[957/1106] Compiling SwiftLintBuiltInRules ImplicitlyUnwrappedOptionalConfiguration.swift
[958/1106] Compiling SwiftLintBuiltInRules InclusiveLanguageConfiguration.swift
[959/1106] Compiling SwiftLintBuiltInRules IndentationWidthConfiguration.swift
[960/1106] Compiling SwiftLintBuiltInRules LineLengthConfiguration.swift
[961/1106] Compiling SwiftLintBuiltInRules MissingDocsConfiguration.swift
[962/1106] Compiling SwiftLintBuiltInRules ModifierOrderConfiguration.swift
[963/1106] Compiling SwiftLintBuiltInRules MultilineArgumentsConfiguration.swift
[964/1106] Compiling SwiftLintBuiltInRules MultilineParametersConfiguration.swift
[965/1106] Compiling SwiftLintBuiltInRules NameConfiguration.swift
[966/1106] Compiling SwiftLintBuiltInRules NestingConfiguration.swift
[967/1106] Compiling SwiftLintBuiltInRules NoEmptyBlockConfiguration.swift
[968/1106] Compiling SwiftLintBuiltInRules NonOverridableClassDeclarationConfiguration.swift
[969/1106] Compiling SwiftLintBuiltInRules NumberSeparatorConfiguration.swift
[970/1106] Compiling SwiftLintBuiltInRules ObjectLiteralConfiguration.swift
[971/1106] Compiling SwiftLintBuiltInRules OpeningBraceConfiguration.swift
[972/1106] Compiling SwiftLintBuiltInRules OperatorUsageWhitespaceConfiguration.swift
[973/1106] Compiling SwiftLintBuiltInRules OverriddenSuperCallConfiguration.swift
[974/1106] Compiling SwiftLintBuiltInRules PreferKeyPathConfiguration.swift
[975/1106] Compiling SwiftLintBuiltInRules PrefixedTopLevelConstantConfiguration.swift
[976/1106] Compiling SwiftLintBuiltInRules PrivateOutletConfiguration.swift
[977/1106] Compiling SwiftLintBuiltInRules PrivateOverFilePrivateConfiguration.swift
[978/1106] Compiling SwiftLintBuiltInRules PrivateUnitTestConfiguration.swift
[979/1106] Compiling SwiftLintBuiltInRules ProhibitedSuperConfiguration.swift
[980/1106] Compiling SwiftLintBuiltInRules RedundantTypeAnnotationConfiguration.swift
[981/1106] Compiling SwiftLintBuiltInRules IdentifierNameRule.swift
[982/1106] Compiling SwiftLintBuiltInRules IdentifierNameRuleExamples.swift
[983/1106] Compiling SwiftLintBuiltInRules ImplicitGetterRule.swift
[984/1106] Compiling SwiftLintBuiltInRules ImplicitGetterRuleExamples.swift
[985/1106] Compiling SwiftLintBuiltInRules ImplicitReturnRule.swift
[986/1106] Compiling SwiftLintBuiltInRules ImplicitReturnRuleExamples.swift
[987/1106] Compiling SwiftLintBuiltInRules InclusiveLanguageRule.swift
[988/1106] Compiling SwiftLintBuiltInRules InclusiveLanguageRuleExamples.swift
[989/1106] Compiling SwiftLintBuiltInRules IndentationWidthRule.swift
[990/1106] Compiling SwiftLintBuiltInRules LeadingWhitespaceRule.swift
[991/1106] Compiling SwiftLintBuiltInRules LetVarWhitespaceRule.swift
[992/1106] Compiling SwiftLintBuiltInRules LiteralExpressionEndIndentationRule.swift
[993/1106] Compiling SwiftLintBuiltInRules ModifierOrderRule.swift
[994/1106] Compiling SwiftLintBuiltInRules ModifierOrderRuleExamples.swift
[995/1106] Compiling SwiftLintBuiltInRules MultilineArgumentsBracketsRule.swift
[996/1106] Compiling SwiftLintBuiltInRules MultilineArgumentsRule.swift
[997/1106] Compiling SwiftLintBuiltInRules MultilineArgumentsRuleExamples.swift
[998/1106] Compiling SwiftLintBuiltInRules MultilineFunctionChainsRule.swift
[999/1106] Compiling SwiftLintBuiltInRules MultilineLiteralBracketsRule.swift
[1000/1106] Compiling SwiftLintBuiltInRules MultilineParametersBracketsRule.swift
[1001/1106] Compiling SwiftLintBuiltInRules MultilineParametersRule.swift
[1002/1106] Compiling SwiftLintBuiltInRules MultilineParametersRuleExamples.swift
[1003/1106] Compiling SwiftLintBuiltInRules MultipleClosuresWithTrailingClosureRule.swift
[1004/1106] Compiling SwiftLintBuiltInRules NoSpaceInMethodCallRule.swift
[1005/1106] Compiling SwiftLintBuiltInRules NonOverridableClassDeclarationRule.swift
[1006/1106] Compiling SwiftLintBuiltInRules NumberSeparatorRule.swift
[1007/1106] Compiling SwiftLintBuiltInRules NumberSeparatorRuleExamples.swift
[1008/1106] Compiling SwiftLintBuiltInRules OpeningBraceRule.swift
[1009/1106] Compiling SwiftLintBuiltInRules OpeningBraceRuleExamples.swift
[1010/1106] Compiling SwiftLintBuiltInRules OperatorFunctionWhitespaceRule.swift
[1011/1106] Compiling SwiftLintBuiltInRules OperatorUsageWhitespaceRule.swift
[1012/1106] Compiling SwiftLintBuiltInRules OperatorUsageWhitespaceRuleExamples.swift
[1013/1106] Compiling SwiftLintBuiltInRules OptionalEnumCaseMatchingRule.swift
[1014/1106] Compiling SwiftLintBuiltInRules PreferSelfInStaticReferencesRule.swift
[1015/1106] Compiling SwiftLintBuiltInRules PreferSelfInStaticReferencesRuleExamples.swift
[1016/1106] Compiling SwiftLintBuiltInRules PreferSelfTypeOverTypeOfSelfRule.swift
[1017/1106] Compiling SwiftLintBuiltInRules PrefixedTopLevelConstantRule.swift
[1018/1106] Compiling SwiftLintBuiltInRules ProtocolPropertyAccessorsOrderRule.swift
[1019/1106] Compiling SwiftLintBuiltInRules RedundantDiscardableLetRule.swift
[1020/1106] Compiling SwiftLintBuiltInRules RedundantSelfInClosureRule.swift
[1021/1106] Compiling SwiftLintBuiltInRules RedundantSelfInClosureRuleExamples.swift
[1022/1106] Compiling SwiftLintBuiltInRules ReturnArrowWhitespaceRule.swift
[1023/1106] Compiling SwiftLintBuiltInRules SelfBindingRule.swift
[1024/1106] Compiling SwiftLintBuiltInRules ShorthandArgumentRule.swift
[1025/1106] Compiling SwiftLintBuiltInRules ShorthandOperatorRule.swift
[1026/1106] Compiling SwiftLintBuiltInRules SingleTestClassRule.swift
[1027/1106] Compiling SwiftLintBuiltInRules SortedEnumCasesRule.swift
[1028/1106] Compiling SwiftLintBuiltInRules SortedImportsRule.swift
[1029/1106] Compiling SwiftLintBuiltInRules SortedImportsRuleExamples.swift
[1030/1106] Compiling SwiftLintBuiltInRules StatementPositionRule.swift
[1031/1106] Compiling SwiftLintBuiltInRules SuperfluousElseRule.swift
[1032/1106] Compiling SwiftLintBuiltInRules SwitchCaseAlignmentRule.swift
[1033/1106] Compiling SwiftLintBuiltInRules SwitchCaseOnNewlineRule.swift
[1034/1106] Compiling SwiftLintBuiltInRules TrailingClosureRule.swift
[1035/1106] Compiling SwiftLintBuiltInRules TrailingCommaRule.swift
[1036/1106] Compiling SwiftLintBuiltInRules TrailingNewlineRule.swift
[1037/1106] Compiling SwiftLintBuiltInRules TrailingWhitespaceRule.swift
[1038/1106] Compiling SwiftLintBuiltInRules TypeContentsOrderRule.swift
[1039/1106] Compiling SwiftLintBuiltInRules TypeContentsOrderRuleExamples.swift
[1040/1106] Compiling SwiftLintBuiltInRules UnneededParenthesesInClosureArgumentRule.swift
[1041/1106] Compiling SwiftLintBuiltInRules UnusedOptionalBindingRule.swift
[1042/1106] Compiling SwiftLintBuiltInRules VerticalParameterAlignmentOnCallRule.swift
[1043/1106] Compiling SwiftLintBuiltInRules VerticalParameterAlignmentRule.swift
[1044/1106] Compiling SwiftLintBuiltInRules VerticalParameterAlignmentRuleExamples.swift
[1045/1106] Compiling SwiftLintBuiltInRules VerticalWhitespaceBetweenCasesRule.swift
[1046/1106] Compiling SwiftLintBuiltInRules VerticalWhitespaceClosingBracesRule.swift
[1047/1106] Compiling SwiftLintBuiltInRules VerticalWhitespaceClosingBracesRuleExamples.swift
[1048/1106] Compiling SwiftLintBuiltInRules VerticalWhitespaceOpeningBracesRule.swift
[1049/1106] Compiling SwiftLintBuiltInRules VerticalWhitespaceRule.swift
[1050/1106] Compiling SwiftLintBuiltInRules VoidReturnRule.swift
[1051/1106] Compiling SwiftLintBuiltInRules BodyLengthRuleVisitor.swift
[1052/1106] Compiling SwiftLintBuiltInRules CodeBlockVisitor.swift
[1053/1106] Emitting module SwiftLintBuiltInRules
[1054/1106] Compiling SwiftLintBuiltInRules CommentSpacingRule.swift
[1055/1106] Compiling SwiftLintBuiltInRules CompilerProtocolInitRule.swift
[1056/1106] Compiling SwiftLintBuiltInRules DeploymentTargetRule.swift
[1057/1106] Compiling SwiftLintBuiltInRules DeploymentTargetRuleExamples.swift
[1058/1106] Compiling SwiftLintBuiltInRules DiscardedNotificationCenterObserverRule.swift
[1059/1106] Compiling SwiftLintBuiltInRules DiscouragedDirectInitRule.swift
[1060/1106] Compiling SwiftLintBuiltInRules DuplicateConditionsRule.swift
[1061/1106] Compiling SwiftLintBuiltInRules DuplicateEnumCasesRule.swift
[1062/1106] Compiling SwiftLintBuiltInRules DuplicatedKeyInDictionaryLiteralRule.swift
[1063/1106] Compiling SwiftLintBuiltInRules DynamicInlineRule.swift
[1064/1106] Compiling SwiftLintBuiltInRules EmptyXCTestMethodRule.swift
[1065/1106] Compiling SwiftLintBuiltInRules EmptyXCTestMethodRuleExamples.swift
[1066/1106] Compiling SwiftLintBuiltInRules ExpiringTodoRule.swift
[1067/1106] Compiling SwiftLintBuiltInRules IBInspectableInExtensionRule.swift
[1068/1106] Compiling SwiftLintBuiltInRules IdenticalOperandsRule.swift
[1069/1106] Compiling SwiftLintBuiltInRules InertDeferRule.swift
[1070/1106] Compiling SwiftLintBuiltInRules InvalidSwiftLintCommandRule.swift
[1071/1106] Compiling SwiftLintBuiltInRules LocalDocCommentRule.swift
[1072/1106] Compiling SwiftLintBuiltInRules LowerACLThanParentRule.swift
[1073/1106] Compiling SwiftLintBuiltInRules MarkRule.swift
[1074/1106] Compiling SwiftLintBuiltInRules MarkRuleExamples.swift
[1075/1106] Compiling SwiftLintBuiltInRules MissingDocsRule.swift
[1076/1106] Compiling SwiftLintBuiltInRules MissingDocsRuleExamples.swift
[1077/1106] Compiling SwiftLintBuiltInRules NSLocalizedStringKeyRule.swift
[1078/1106] Compiling SwiftLintBuiltInRules NSLocalizedStringRequireBundleRule.swift
[1079/1106] Compiling SwiftLintBuiltInRules FileNameNoSpaceRule.swift
[1080/1106] Compiling SwiftLintBuiltInRules FileNameRule.swift
[1081/1106] Compiling SwiftLintBuiltInRules ForWhereRule.swift
[1082/1106] Compiling SwiftLintBuiltInRules ForceCastRule.swift
[1083/1106] Compiling SwiftLintBuiltInRules ForceTryRule.swift
[1084/1106] Compiling SwiftLintBuiltInRules ForceUnwrappingRule.swift
[1085/1106] Compiling SwiftLintBuiltInRules FunctionDefaultParameterAtEndRule.swift
[1086/1106] Compiling SwiftLintBuiltInRules GenericTypeNameRule.swift
[1087/1106] Compiling SwiftLintBuiltInRules ImplicitlyUnwrappedOptionalRule.swift
[1088/1106] Compiling SwiftLintBuiltInRules IsDisjointRule.swift
[1089/1106] Compiling SwiftLintBuiltInRules JoinedDefaultParameterRule.swift
[1090/1106] Compiling SwiftLintBuiltInRules LegacyCGGeometryFunctionsRule.swift
[1091/1106] Compiling SwiftLintBuiltInRules LegacyConstantRule.swift
[1092/1106] Compiling SwiftLintBuiltInRules LegacyConstantRuleExamples.swift
[1093/1106] Compiling SwiftLintBuiltInRules LegacyConstructorRule.swift
[1094/1106] Compiling SwiftLintBuiltInRules LegacyHashingRule.swift
[1095/1106] Compiling SwiftLintBuiltInRules LegacyMultipleRule.swift
[1096/1106] Compiling SwiftLintBuiltInRules LegacyNSGeometryFunctionsRule.swift
[1097/1106] Compiling SwiftLintBuiltInRules LegacyObjcTypeRule.swift
[1098/1106] Compiling SwiftLintBuiltInRules LegacyRandomRule.swift
[1099/1106] Compiling SwiftLintBuiltInRules NimbleOperatorRule.swift
[1100/1106] Compiling SwiftLintBuiltInRules NoEmptyBlockRule.swift
[1101/1106] Compiling SwiftLintBuiltInRules NoExtensionAccessModifierRule.swift
[1102/1106] Compiling SwiftLintBuiltInRules NoFallthroughOnlyRule.swift
[1103/1106] Compiling SwiftLintBuiltInRules NoFallthroughOnlyRuleExamples.swift
[1104/1108] Emitting module SwiftLintFramework
[1105/1108] Compiling SwiftLintFramework Exports.swift
[1106/1136] Compiling swiftlint Analyze.swift
[1107/1136] Compiling swiftlint Baseline.swift
[1108/1136] Compiling swiftlint RulesFilter.ExcludingOptions+RulesFilterOptions.swift
[1109/1138] Emitting module swiftlint
[1110/1138] Compiling swiftlint RulesFilterOptions.swift
[1111/1138] Compiling swiftlint Docs.swift
[1112/1138] Compiling swiftlint GenerateDocs.swift
[1113/1138] Compiling swiftlint Lint.swift
/Users/admin/builder/spi-builder-workspace/Source/swiftlint/Commands/Lint.swift:28:19: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | func run() async throws {
28 | Issue.printDeprecationWarnings = !silenceDeprecationWarnings
| `- warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | if common.fix, let leniency = common.leniency {
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: note: static property declared here
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| `- note: static property declared here
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
[1114/1138] Compiling swiftlint Reporters.swift
/Users/admin/builder/spi-builder-workspace/Source/swiftlint/Commands/Lint.swift:28:19: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | func run() async throws {
28 | Issue.printDeprecationWarnings = !silenceDeprecationWarnings
| `- warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | if common.fix, let leniency = common.leniency {
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: note: static property declared here
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| `- note: static property declared here
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
[1115/1138] Compiling swiftlint Rules.swift
/Users/admin/builder/spi-builder-workspace/Source/swiftlint/Commands/Lint.swift:28:19: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | func run() async throws {
28 | Issue.printDeprecationWarnings = !silenceDeprecationWarnings
| `- warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | if common.fix, let leniency = common.leniency {
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:78:23: note: static property declared here
76 |
77 | /// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
78 | public static var printDeprecationWarnings = true
| `- note: static property declared here
79 |
80 | /// Hook used to capture all messages normally printed to stdout and return them back to the caller.
[1116/1138] Compiling swiftlint ProgressBar.swift
[1117/1138] Compiling swiftlint RulesFilter.swift
[1118/1138] Compiling swiftlint Signposts.swift
[1119/1138] Compiling swiftlint SwiftLintError.swift
[1120/1138] Compiling swiftlint ExitHelper.swift
[1121/1138] Compiling swiftlint LintOrAnalyzeArguments.swift
[1122/1138] Compiling swiftlint SwiftLint.swift
[1123/1138] Compiling swiftlint Version.swift
[1124/1138] Compiling swiftlint Configuration+CommandLine.swift
[1125/1138] Compiling swiftlint LintOrAnalyzeCommand.swift
/Users/admin/builder/spi-builder-workspace/Source/swiftlint/Helpers/LintOrAnalyzeCommand.swift:372:23: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
370 | let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
371 | $0.withMemoryRebound(to: integer_t.self, capacity: basicInfoCount) {
372 | task_info(mach_task_self_, task_flavor_t(MACH_TASK_BASIC_INFO), $0, &count)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
373 | }
374 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[1126/1138] Compiling swiftlint LintableFilesVisitor.swift
/Users/admin/builder/spi-builder-workspace/Source/swiftlint/Helpers/LintOrAnalyzeCommand.swift:372:23: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
370 | let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
371 | $0.withMemoryRebound(to: integer_t.self, capacity: basicInfoCount) {
372 | task_info(mach_task_self_, task_flavor_t(MACH_TASK_BASIC_INFO), $0, &count)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
373 | }
374 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[1127/1138] Compiling swiftlint ProcessInfo+XcodeCloud.swift
[1128/1138] Compiling swiftlint Benchmark.swift
[1129/1138] Compiling swiftlint CompilerArgumentsExtractor.swift
[1130/1138] Compiling swiftlint SwiftPMCompilationDB.swift
/Users/admin/builder/spi-builder-workspace/Source/swiftlint/Helpers/UpdateChecker.swift:51:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |
50 | let task = URLSession.shared.dataTask(with: request) { data, _, _ in
51 | result = data
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | semaphore.signal()
53 | }
[1131/1138] Compiling swiftlint UpdateChecker.swift
/Users/admin/builder/spi-builder-workspace/Source/swiftlint/Helpers/UpdateChecker.swift:51:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |
50 | let task = URLSession.shared.dataTask(with: request) { data, _, _ in
51 | result = data
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | semaphore.signal()
53 | }
[1131/1138] Write Objects.LinkFileList
[1132/1138] Linking swiftlint
[1133/1138] Applying swiftlint
[1135/1138] Compiling SwiftLintTestHelpers SwiftLintTestCase.swift
[1136/1138] Compiling SwiftLintTestHelpers RuleDescription+Examples.swift
[1137/1138] Emitting module SwiftLintTestHelpers
[1138/1138] Compiling SwiftLintTestHelpers TestHelpers.swift
/Users/admin/builder/spi-builder-workspace/Tests/SwiftLintTestHelpers/TestHelpers.swift:449:23: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
447 | let ruleDescription = ruleDescription.focused()
448 |
449 | SwiftLintCore.parserDiagnosticsDisabledForTests = parserDiagnosticsDisabledForTests
| `- warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
450 |
451 | // corrections
/Users/admin/builder/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:13: note: var declared here
54 | // Re-enable once all parser diagnostics in tests have been addressed.
55 | // https://github.com/realm/SwiftLint/issues/3348
56 | package var parserDiagnosticsDisabledForTests = false
| `- note: var declared here
57 |
58 | private let assertHandlers = [FileCacheKey: AssertHandler]()
Build complete! (119.44s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"600.0.0-prerelease-2024-08-14"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "sourcekitten",
"requirement" : {
"range" : [
{
"lower_bound" : "0.35.0",
"upper_bound" : "0.36.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/SourceKitten.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.6",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
},
{
"identity" : "collectionconcurrencykit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/CollectionConcurrencyKit.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.0",
"upper_bound" : "1.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
}
],
"manifest_display_name" : "SwiftLint",
"name" : "SwiftLint",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "swiftlint",
"targets" : [
"swiftlint"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftLintFramework",
"targets" : [
"SwiftLintFramework"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftLintBuildToolPlugin",
"targets" : [
"SwiftLintBuildToolPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "SwiftLintCommandPlugin",
"targets" : [
"SwiftLintCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "SwiftLintCoreMacros",
"targets" : [
"SwiftLintCoreMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "swiftlint",
"module_type" : "SwiftTarget",
"name" : "swiftlint",
"path" : "Source/swiftlint",
"product_dependencies" : [
"ArgumentParser",
"CollectionConcurrencyKit",
"SwiftyTextTable"
],
"product_memberships" : [
"swiftlint"
],
"sources" : [
"Commands/Analyze.swift",
"Commands/Baseline.swift",
"Commands/Common/RulesFilter.ExcludingOptions+RulesFilterOptions.swift",
"Commands/Common/RulesFilterOptions.swift",
"Commands/Docs.swift",
"Commands/GenerateDocs.swift",
"Commands/Lint.swift",
"Commands/Reporters.swift",
"Commands/Rules.swift",
"Commands/SwiftLint.swift",
"Commands/Version.swift",
"Extensions/Configuration+CommandLine.swift",
"Extensions/ProcessInfo+XcodeCloud.swift",
"Helpers/Benchmark.swift",
"Helpers/CompilerArgumentsExtractor.swift",
"Helpers/ExitHelper.swift",
"Helpers/LintOrAnalyzeArguments.swift",
"Helpers/LintOrAnalyzeCommand.swift",
"Helpers/LintableFilesVisitor.swift",
"Helpers/ProgressBar.swift",
"Helpers/RulesFilter.swift",
"Helpers/Signposts.swift",
"Helpers/SwiftLintError.swift",
"Helpers/SwiftPMCompilationDB.swift",
"Helpers/UpdateChecker.swift"
],
"target_dependencies" : [
"SwiftLintFramework"
],
"type" : "executable"
},
{
"c99name" : "SwiftLintTestHelpers",
"module_type" : "SwiftTarget",
"name" : "SwiftLintTestHelpers",
"path" : "Tests/SwiftLintTestHelpers",
"sources" : [
"RuleDescription+Examples.swift",
"SwiftLintTestCase.swift",
"TestHelpers.swift"
],
"target_dependencies" : [
"SwiftLintFramework"
],
"type" : "library"
},
{
"c99name" : "SwiftLintFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLintFrameworkTests",
"path" : "Tests/SwiftLintFrameworkTests",
"sources" : [
"AccessControlLevelTests.swift",
"AttributesRuleTests.swift",
"BaselineTests.swift",
"BlanketDisableCommandRuleTests.swift",
"ChildOptionSeverityConfigurationTests.swift",
"CodeIndentingRewriterTests.swift",
"CollectingRuleTests.swift",
"CollectionAlignmentRuleTests.swift",
"ColonRuleTests.swift",
"CommandTests.swift",
"CompilerProtocolInitRuleTests.swift",
"ComputedAccessorsOrderRuleTests.swift",
"ConditionalReturnsOnNewlineRuleTests.swift",
"ConfigurationAliasesTests.swift",
"ConfigurationTests+Mock.swift",
"ConfigurationTests+MultipleConfigs.swift",
"ConfigurationTests.swift",
"ContainsOverFirstNotNilRuleTests.swift",
"CustomRulesTests.swift",
"CyclomaticComplexityConfigurationTests.swift",
"CyclomaticComplexityRuleTests.swift",
"DeploymentTargetConfigurationTests.swift",
"DeploymentTargetRuleTests.swift",
"DisableAllTests.swift",
"DiscouragedDirectInitRuleTests.swift",
"DiscouragedObjectLiteralRuleTests.swift",
"DuplicateImportsRuleTests.swift",
"EmptyCountRuleTests.swift",
"ExampleTests.swift",
"ExpiringTodoRuleTests.swift",
"ExplicitInitRuleTests.swift",
"ExplicitTypeInterfaceConfigurationTests.swift",
"ExplicitTypeInterfaceRuleTests.swift",
"Exports.swift",
"ExtendedNSStringTests.swift",
"ExtendedStringTests.swift",
"FileHeaderRuleTests.swift",
"FileLengthRuleTests.swift",
"FileNameNoSpaceRuleTests.swift",
"FileNameRuleTests.swift",
"FileTypesOrderRuleTests.swift",
"FunctionBodyLengthRuleTests.swift",
"FunctionParameterCountRuleTests.swift",
"GenericTypeNameRuleTests.swift",
"GlobTests.swift",
"IdentifierNameRuleTests.swift",
"ImplicitGetterRuleTests.swift",
"ImplicitReturnConfigurationTests.swift",
"ImplicitReturnRuleTests.swift",
"ImplicitlyUnwrappedOptionalConfigurationTests.swift",
"ImplicitlyUnwrappedOptionalRuleTests.swift",
"InclusiveLanguageRuleTests.swift",
"IndentationWidthRuleTests.swift",
"LineEndingTests.swift",
"LineLengthConfigurationTests.swift",
"LineLengthRuleTests.swift",
"LinterCacheTests.swift",
"MissingDocsRuleTests.swift",
"ModifierOrderTests.swift",
"MultilineArgumentsRuleTests.swift",
"NameConfigurationTests.swift",
"NestingRuleTests.swift",
"NoEmptyBlockConfigurationTests.swift",
"NumberSeparatorRuleTests.swift",
"ObjectLiteralRuleTests.swift",
"OpeningBraceRuleTests.swift",
"ParserDiagnosticsTests.swift",
"PrefixedTopLevelConstantRuleTests.swift",
"PrivateOverFilePrivateRuleTests.swift",
"RegexConfigurationTests.swift",
"RegionTests.swift",
"ReporterTests.swift",
"RequiredEnumCaseConfigurationTests.swift",
"RuleConfigurationDescriptionTests.swift",
"RuleConfigurationTests.swift",
"RuleTests.swift",
"RulesTests.swift",
"SourceKitCrashTests.swift",
"StatementPositionRuleTests.swift",
"StringExtensionTests.swift",
"StringViewExtensionTests.swift",
"SwiftLintFileTests.swift",
"SwiftVersionTests.swift",
"SwitchCaseAlignmentRuleTests.swift",
"TodoRuleTests.swift",
"TrailingClosureConfigurationTests.swift",
"TrailingClosureRuleTests.swift",
"TrailingCommaRuleTests.swift",
"TrailingWhitespaceRuleTests.swift",
"TypeContentsOrderRuleTests.swift",
"TypeNameRuleTests.swift",
"TypesafeArrayInitRuleTests.swift",
"UnneededOverrideRuleTests.swift",
"UnusedDeclarationConfigurationTests.swift",
"UnusedOptionalBindingRuleTests.swift",
"VerticalWhitespaceRuleTests.swift",
"XCTSpecificMatcherRuleTests.swift",
"XCTestCase+BundlePath.swift",
"YamlParserTests.swift",
"YamlSwiftLintTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"SwiftLintTestHelpers",
"SwiftLintCoreMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftLintFramework",
"module_type" : "SwiftTarget",
"name" : "SwiftLintFramework",
"path" : "Source/SwiftLintFramework",
"product_dependencies" : [
"ArgumentParser",
"CollectionConcurrencyKit"
],
"product_memberships" : [
"swiftlint",
"SwiftLintFramework"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"SwiftLintBuiltInRules",
"SwiftLintCore",
"SwiftLintExtraRules"
],
"type" : "library"
},
{
"c99name" : "SwiftLintExtraRules",
"module_type" : "SwiftTarget",
"name" : "SwiftLintExtraRules",
"path" : "Source/SwiftLintExtraRules",
"product_memberships" : [
"swiftlint",
"SwiftLintFramework"
],
"sources" : [
"Exports.swift",
"ExtraRules.swift"
],
"target_dependencies" : [
"SwiftLintCore"
],
"type" : "library"
},
{
"c99name" : "SwiftLintCoreMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftLintCoreMacros",
"path" : "Source/SwiftLintCoreMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"swiftlint",
"SwiftLintFramework",
"SwiftLintCoreMacros"
],
"sources" : [
"RuleConfigurationMacros.swift",
"SwiftLintCoreMacros.swift",
"SwiftSyntaxRule.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftLintCore",
"module_type" : "SwiftTarget",
"name" : "SwiftLintCore",
"path" : "Source/SwiftLintCore",
"product_dependencies" : [
"CryptoSwift",
"SourceKittenFramework",
"SwiftIDEUtils",
"SwiftOperators",
"SwiftParser",
"SwiftSyntax",
"SwiftSyntaxBuilder",
"SwiftyTextTable",
"Yams"
],
"product_memberships" : [
"swiftlint",
"SwiftLintFramework"
],
"sources" : [
"Documentation/RuleDocumentation.swift",
"Documentation/RuleListDocumentation.swift",
"Extensions/Array+SwiftLint.swift",
"Extensions/ByteCount+SwiftSyntax.swift",
"Extensions/Collection+Windows.swift",
"Extensions/Configuration+Cache.swift",
"Extensions/Configuration+FileGraph.swift",
"Extensions/Configuration+FileGraphSubtypes.swift",
"Extensions/Configuration+IndentationStyle.swift",
"Extensions/Configuration+LintableFiles.swift",
"Extensions/Configuration+Merging.swift",
"Extensions/Configuration+Parsing.swift",
"Extensions/Configuration+Remote.swift",
"Extensions/Configuration+RulesMode.swift",
"Extensions/Configuration+RulesWrapper.swift",
"Extensions/Dictionary+SwiftLint.swift",
"Extensions/FileManager+SwiftLint.swift",
"Extensions/NSRange+SwiftLint.swift",
"Extensions/NSRegularExpression+SwiftLint.swift",
"Extensions/QueuedPrint.swift",
"Extensions/RandomAccessCollection+Swiftlint.swift",
"Extensions/Request+SwiftLint.swift",
"Extensions/SourceKittenDictionary+Swiftlint.swift",
"Extensions/SourceRange+SwiftLint.swift",
"Extensions/String+SwiftLint.swift",
"Extensions/String+XML.swift",
"Extensions/String+sha256.swift",
"Extensions/StringView+SwiftLint.swift",
"Extensions/StringView+SwiftSyntax.swift",
"Extensions/SwiftDeclarationAttributeKind+Swiftlint.swift",
"Extensions/SwiftDeclarationKind+SwiftLint.swift",
"Extensions/SwiftLintFile+BodyLineCount.swift",
"Extensions/SwiftLintFile+Cache.swift",
"Extensions/SwiftLintFile+Regex.swift",
"Extensions/SwiftSyntax+SwiftLint.swift",
"Extensions/SyntaxClassification+isComment.swift",
"Extensions/SyntaxKind+SwiftLint.swift",
"Helpers/ExecutableInfo.swift",
"Helpers/Glob.swift",
"Helpers/Macros.swift",
"Helpers/Reachability.swift",
"Helpers/Stack.swift",
"Models/AccessControlLevel.swift",
"Models/Baseline.swift",
"Models/ChildOptionSeverityConfiguration.swift",
"Models/Command.swift",
"Models/Configuration.swift",
"Models/ConfigurationRuleWrapper.swift",
"Models/Correction.swift",
"Models/CustomRuleTimer.swift",
"Models/Example.swift",
"Models/HashableConfigurationRuleWrapperWrapper.swift",
"Models/Issue.swift",
"Models/Linter.swift",
"Models/LinterCache.swift",
"Models/Location.swift",
"Models/Region.swift",
"Models/ReportersList.swift",
"Models/RuleConfigurationDescription.swift",
"Models/RuleDescription.swift",
"Models/RuleIdentifier.swift",
"Models/RuleKind.swift",
"Models/RuleList.swift",
"Models/RuleParameter.swift",
"Models/RuleRegistry.swift",
"Models/RuleStorage.swift",
"Models/SeverityConfiguration.swift",
"Models/StyleViolation.swift",
"Models/SwiftExpressionKind.swift",
"Models/SwiftLintFile.swift",
"Models/SwiftLintSyntaxMap.swift",
"Models/SwiftLintSyntaxToken.swift",
"Models/SwiftVersion.swift",
"Models/Version.swift",
"Models/ViolationSeverity.swift",
"Models/YamlParser.swift",
"Protocols/ASTRule.swift",
"Protocols/CacheDescriptionProvider.swift",
"Protocols/CollectingRule.swift",
"Protocols/Reporter.swift",
"Protocols/Rule.swift",
"Protocols/RuleConfiguration.swift",
"Protocols/SwiftSyntaxCorrectableRule.swift",
"Protocols/SwiftSyntaxRule.swift",
"Reporters/CSVReporter.swift",
"Reporters/CheckstyleReporter.swift",
"Reporters/CodeClimateReporter.swift",
"Reporters/EmojiReporter.swift",
"Reporters/GitHubActionsLoggingReporter.swift",
"Reporters/GitLabJUnitReporter.swift",
"Reporters/HTMLReporter.swift",
"Reporters/JSONReporter.swift",
"Reporters/JUnitReporter.swift",
"Reporters/MarkdownReporter.swift",
"Reporters/RelativePathReporter.swift",
"Reporters/SARIFReporter.swift",
"Reporters/SonarQubeReporter.swift",
"Reporters/SummaryReporter.swift",
"Reporters/XcodeReporter.swift",
"Rewriters/CodeIndentingRewriter.swift",
"RuleConfigurations/RegexConfiguration.swift",
"RuleConfigurations/SeverityLevelsConfiguration.swift",
"Rules/CoreRules.swift",
"Rules/CustomRules.swift",
"Rules/SuperfluousDisableCommandRule.swift",
"Visitors/CommandVisitor.swift",
"Visitors/DeclaredIdentifiersTrackingVisitor.swift",
"Visitors/ViolationsSyntaxVisitor.swift"
],
"target_dependencies" : [
"DyldWarningWorkaround",
"SwiftLintCoreMacros"
],
"type" : "library"
},
{
"c99name" : "SwiftLintCommandPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftLintCommandPlugin",
"path" : "Plugins/SwiftLintCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "SwiftLint Command Plugin",
"type" : "custom",
"verb" : "swiftlint"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"SwiftLintCommandPlugin"
],
"sources" : [
"SwiftLintCommandPlugin.swift"
],
"target_dependencies" : [
"SwiftLintBinary"
],
"type" : "plugin"
},
{
"c99name" : "SwiftLintBuiltInRules",
"module_type" : "SwiftTarget",
"name" : "SwiftLintBuiltInRules",
"path" : "Source/SwiftLintBuiltInRules",
"product_memberships" : [
"swiftlint",
"SwiftLintFramework"
],
"sources" : [
"Exports.swift",
"Extensions/SourceKittenDictionary+SwiftUI.swift",
"Helpers/LegacyFunctionRuleHelper.swift",
"Models/BuiltInRules.swift",
"Models/ImportUsage.swift",
"Rules/Idiomatic/AnonymousArgumentInMultilineClosureRule.swift",
"Rules/Idiomatic/BlockBasedKVORule.swift",
"Rules/Idiomatic/ConvenienceTypeRule.swift",
"Rules/Idiomatic/DiscouragedAssertRule.swift",
"Rules/Idiomatic/DiscouragedNoneNameRule.swift",
"Rules/Idiomatic/DiscouragedObjectLiteralRule.swift",
"Rules/Idiomatic/DiscouragedOptionalBooleanRule.swift",
"Rules/Idiomatic/DiscouragedOptionalBooleanRuleExamples.swift",
"Rules/Idiomatic/DiscouragedOptionalCollectionExamples.swift",
"Rules/Idiomatic/DiscouragedOptionalCollectionRule.swift",
"Rules/Idiomatic/DuplicateImportsRule.swift",
"Rules/Idiomatic/DuplicateImportsRuleExamples.swift",
"Rules/Idiomatic/ExplicitACLRule.swift",
"Rules/Idiomatic/ExplicitEnumRawValueRule.swift",
"Rules/Idiomatic/ExplicitInitRule.swift",
"Rules/Idiomatic/ExplicitTopLevelACLRule.swift",
"Rules/Idiomatic/ExplicitTypeInterfaceRule.swift",
"Rules/Idiomatic/ExtensionAccessModifierRule.swift",
"Rules/Idiomatic/FallthroughRule.swift",
"Rules/Idiomatic/FatalErrorMessageRule.swift",
"Rules/Idiomatic/FileNameNoSpaceRule.swift",
"Rules/Idiomatic/FileNameRule.swift",
"Rules/Idiomatic/ForWhereRule.swift",
"Rules/Idiomatic/ForceCastRule.swift",
"Rules/Idiomatic/ForceTryRule.swift",
"Rules/Idiomatic/ForceUnwrappingRule.swift",
"Rules/Idiomatic/FunctionDefaultParameterAtEndRule.swift",
"Rules/Idiomatic/GenericTypeNameRule.swift",
"Rules/Idiomatic/ImplicitlyUnwrappedOptionalRule.swift",
"Rules/Idiomatic/IsDisjointRule.swift",
"Rules/Idiomatic/JoinedDefaultParameterRule.swift",
"Rules/Idiomatic/LegacyCGGeometryFunctionsRule.swift",
"Rules/Idiomatic/LegacyConstantRule.swift",
"Rules/Idiomatic/LegacyConstantRuleExamples.swift",
"Rules/Idiomatic/LegacyConstructorRule.swift",
"Rules/Idiomatic/LegacyHashingRule.swift",
"Rules/Idiomatic/LegacyMultipleRule.swift",
"Rules/Idiomatic/LegacyNSGeometryFunctionsRule.swift",
"Rules/Idiomatic/LegacyObjcTypeRule.swift",
"Rules/Idiomatic/LegacyRandomRule.swift",
"Rules/Idiomatic/NimbleOperatorRule.swift",
"Rules/Idiomatic/NoEmptyBlockRule.swift",
"Rules/Idiomatic/NoExtensionAccessModifierRule.swift",
"Rules/Idiomatic/NoFallthroughOnlyRule.swift",
"Rules/Idiomatic/NoFallthroughOnlyRuleExamples.swift",
"Rules/Idiomatic/NoGroupingExtensionRule.swift",
"Rules/Idiomatic/NoMagicNumbersRule.swift",
"Rules/Idiomatic/ObjectLiteralRule.swift",
"Rules/Idiomatic/OneDeclarationPerFileRule.swift",
"Rules/Idiomatic/PatternMatchingKeywordsRule.swift",
"Rules/Idiomatic/PreferKeyPathRule.swift",
"Rules/Idiomatic/PreferNimbleRule.swift",
"Rules/Idiomatic/PreferTypeCheckingRule.swift",
"Rules/Idiomatic/PreferZeroOverExplicitInitRule.swift",
"Rules/Idiomatic/PrivateOverFilePrivateRule.swift",
"Rules/Idiomatic/RedundantNilCoalescingRule.swift",
"Rules/Idiomatic/RedundantObjcAttributeRule.swift",
"Rules/Idiomatic/RedundantObjcAttributeRuleExamples.swift",
"Rules/Idiomatic/RedundantOptionalInitializationRule.swift",
"Rules/Idiomatic/RedundantSetAccessControlRule.swift",
"Rules/Idiomatic/RedundantStringEnumValueRule.swift",
"Rules/Idiomatic/RedundantTypeAnnotationRule.swift",
"Rules/Idiomatic/RedundantVoidReturnRule.swift",
"Rules/Idiomatic/ReturnValueFromVoidFunctionRule.swift",
"Rules/Idiomatic/ReturnValueFromVoidFunctionRuleExamples.swift",
"Rules/Idiomatic/ShorthandOptionalBindingRule.swift",
"Rules/Idiomatic/StaticOperatorRule.swift",
"Rules/Idiomatic/StaticOverFinalClassRule.swift",
"Rules/Idiomatic/StrictFilePrivateRule.swift",
"Rules/Idiomatic/SyntacticSugarRule.swift",
"Rules/Idiomatic/SyntacticSugarRuleExamples.swift",
"Rules/Idiomatic/ToggleBoolRule.swift",
"Rules/Idiomatic/TrailingSemicolonRule.swift",
"Rules/Idiomatic/TypeNameRule.swift",
"Rules/Idiomatic/TypeNameRuleExamples.swift",
"Rules/Idiomatic/UnavailableConditionRule.swift",
"Rules/Idiomatic/UnavailableFunctionRule.swift",
"Rules/Idiomatic/UnneededBreakInSwitchRule.swift",
"Rules/Idiomatic/UnneededSynthesizedInitializerRule.swift",
"Rules/Idiomatic/UnneededSynthesizedInitializerRuleExamples.swift",
"Rules/Idiomatic/UntypedErrorInCatchRule.swift",
"Rules/Idiomatic/UnusedEnumeratedRule.swift",
"Rules/Idiomatic/VoidFunctionInTernaryConditionRule.swift",
"Rules/Idiomatic/XCTFailMessageRule.swift",
"Rules/Idiomatic/XCTSpecificMatcherRule.swift",
"Rules/Idiomatic/XCTSpecificMatcherRuleExamples.swift",
"Rules/Lint/AccessibilityLabelForImageRule.swift",
"Rules/Lint/AccessibilityLabelForImageRuleExamples.swift",
"Rules/Lint/AccessibilityTraitForButtonRule.swift",
"Rules/Lint/AccessibilityTraitForButtonRuleExamples.swift",
"Rules/Lint/ArrayInitRule.swift",
"Rules/Lint/BalancedXCTestLifecycleRule.swift",
"Rules/Lint/BlanketDisableCommandRule.swift",
"Rules/Lint/CaptureVariableRule.swift",
"Rules/Lint/ClassDelegateProtocolRule.swift",
"Rules/Lint/CommentSpacingRule.swift",
"Rules/Lint/CompilerProtocolInitRule.swift",
"Rules/Lint/DeploymentTargetRule.swift",
"Rules/Lint/DeploymentTargetRuleExamples.swift",
"Rules/Lint/DiscardedNotificationCenterObserverRule.swift",
"Rules/Lint/DiscouragedDirectInitRule.swift",
"Rules/Lint/DuplicateConditionsRule.swift",
"Rules/Lint/DuplicateEnumCasesRule.swift",
"Rules/Lint/DuplicatedKeyInDictionaryLiteralRule.swift",
"Rules/Lint/DynamicInlineRule.swift",
"Rules/Lint/EmptyXCTestMethodRule.swift",
"Rules/Lint/EmptyXCTestMethodRuleExamples.swift",
"Rules/Lint/ExpiringTodoRule.swift",
"Rules/Lint/IBInspectableInExtensionRule.swift",
"Rules/Lint/IdenticalOperandsRule.swift",
"Rules/Lint/InertDeferRule.swift",
"Rules/Lint/InvalidSwiftLintCommandRule.swift",
"Rules/Lint/LocalDocCommentRule.swift",
"Rules/Lint/LowerACLThanParentRule.swift",
"Rules/Lint/MarkRule.swift",
"Rules/Lint/MarkRuleExamples.swift",
"Rules/Lint/MissingDocsRule.swift",
"Rules/Lint/MissingDocsRuleExamples.swift",
"Rules/Lint/NSLocalizedStringKeyRule.swift",
"Rules/Lint/NSLocalizedStringRequireBundleRule.swift",
"Rules/Lint/NSNumberInitAsFunctionReferenceRule.swift",
"Rules/Lint/NSObjectPreferIsEqualRule.swift",
"Rules/Lint/NSObjectPreferIsEqualRuleExamples.swift",
"Rules/Lint/NonOptionalStringDataConversionRule.swift",
"Rules/Lint/NotificationCenterDetachmentRule.swift",
"Rules/Lint/NotificationCenterDetachmentRuleExamples.swift",
"Rules/Lint/OptionalDataStringConversionRule.swift",
"Rules/Lint/OrphanedDocCommentRule.swift",
"Rules/Lint/OverriddenSuperCallRule.swift",
"Rules/Lint/OverrideInExtensionRule.swift",
"Rules/Lint/PeriodSpacingRule.swift",
"Rules/Lint/PrivateActionRule.swift",
"Rules/Lint/PrivateOutletRule.swift",
"Rules/Lint/PrivateSubjectRule.swift",
"Rules/Lint/PrivateSubjectRuleExamples.swift",
"Rules/Lint/PrivateSwiftUIStatePropertyRule.swift",
"Rules/Lint/PrivateSwiftUIStatePropertyRuleExamples.swift",
"Rules/Lint/PrivateUnitTestRule.swift",
"Rules/Lint/ProhibitedInterfaceBuilderRule.swift",
"Rules/Lint/ProhibitedSuperRule.swift",
"Rules/Lint/QuickDiscouragedCallRule.swift",
"Rules/Lint/QuickDiscouragedCallRuleExamples.swift",
"Rules/Lint/QuickDiscouragedFocusedTestRule.swift",
"Rules/Lint/QuickDiscouragedFocusedTestRuleExamples.swift",
"Rules/Lint/QuickDiscouragedPendingTestRule.swift",
"Rules/Lint/QuickDiscouragedPendingTestRuleExamples.swift",
"Rules/Lint/RawValueForCamelCasedCodableEnumRule.swift",
"Rules/Lint/RequiredDeinitRule.swift",
"Rules/Lint/RequiredEnumCaseRule.swift",
"Rules/Lint/SelfInPropertyInitializationRule.swift",
"Rules/Lint/StrongIBOutletRule.swift",
"Rules/Lint/TestCaseAccessibilityRule.swift",
"Rules/Lint/TestCaseAccessibilityRuleExamples.swift",
"Rules/Lint/TodoRule.swift",
"Rules/Lint/TypesafeArrayInitRule.swift",
"Rules/Lint/UnhandledThrowingTaskRule.swift",
"Rules/Lint/UnneededOverrideRule.swift",
"Rules/Lint/UnneededOverrideRuleExamples.swift",
"Rules/Lint/UnownedVariableCaptureRule.swift",
"Rules/Lint/UnusedCaptureListRule.swift",
"Rules/Lint/UnusedClosureParameterRule.swift",
"Rules/Lint/UnusedClosureParameterRuleExamples.swift",
"Rules/Lint/UnusedControlFlowLabelRule.swift",
"Rules/Lint/UnusedDeclarationRule.swift",
"Rules/Lint/UnusedDeclarationRuleExamples.swift",
"Rules/Lint/UnusedImportRule.swift",
"Rules/Lint/UnusedImportRuleExamples.swift",
"Rules/Lint/UnusedParameterRule.swift",
"Rules/Lint/UnusedSetterValueRule.swift",
"Rules/Lint/ValidIBInspectableRule.swift",
"Rules/Lint/WeakDelegateRule.swift",
"Rules/Lint/YodaConditionRule.swift",
"Rules/Metrics/ClosureBodyLengthRule.swift",
"Rules/Metrics/ClosureBodyLengthRuleExamples.swift",
"Rules/Metrics/CyclomaticComplexityRule.swift",
"Rules/Metrics/EnumCaseAssociatedValuesLengthRule.swift",
"Rules/Metrics/FileLengthRule.swift",
"Rules/Metrics/FunctionBodyLengthRule.swift",
"Rules/Metrics/FunctionParameterCountRule.swift",
"Rules/Metrics/LargeTupleRule.swift",
"Rules/Metrics/LargeTupleRuleExamples.swift",
"Rules/Metrics/LineLengthRule.swift",
"Rules/Metrics/NestingRule.swift",
"Rules/Metrics/NestingRuleExamples.swift",
"Rules/Metrics/TypeBodyLengthRule.swift",
"Rules/Performance/ContainsOverFilterCountRule.swift",
"Rules/Performance/ContainsOverFilterIsEmptyRule.swift",
"Rules/Performance/ContainsOverFirstNotNilRule.swift",
"Rules/Performance/ContainsOverRangeNilComparisonRule.swift",
"Rules/Performance/EmptyCollectionLiteralRule.swift",
"Rules/Performance/EmptyCountRule.swift",
"Rules/Performance/EmptyStringRule.swift",
"Rules/Performance/FinalTestCaseRule.swift",
"Rules/Performance/FirstWhereRule.swift",
"Rules/Performance/FlatMapOverMapReduceRule.swift",
"Rules/Performance/LastWhereRule.swift",
"Rules/Performance/ReduceBooleanRule.swift",
"Rules/Performance/ReduceIntoRule.swift",
"Rules/Performance/SortedFirstLastRule.swift",
"Rules/RuleConfigurations/AttributesConfiguration.swift",
"Rules/RuleConfigurations/BlanketDisableCommandConfiguration.swift",
"Rules/RuleConfigurations/CollectionAlignmentConfiguration.swift",
"Rules/RuleConfigurations/ColonConfiguration.swift",
"Rules/RuleConfigurations/ComputedAccessorsOrderConfiguration.swift",
"Rules/RuleConfigurations/ConditionalReturnsOnNewlineConfiguration.swift",
"Rules/RuleConfigurations/CyclomaticComplexityConfiguration.swift",
"Rules/RuleConfigurations/DeploymentTargetConfiguration.swift",
"Rules/RuleConfigurations/DiscouragedDirectInitConfiguration.swift",
"Rules/RuleConfigurations/EmptyCountConfiguration.swift",
"Rules/RuleConfigurations/ExpiringTodoConfiguration.swift",
"Rules/RuleConfigurations/ExplicitInitConfiguration.swift",
"Rules/RuleConfigurations/ExplicitTypeInterfaceConfiguration.swift",
"Rules/RuleConfigurations/FileHeaderConfiguration.swift",
"Rules/RuleConfigurations/FileLengthConfiguration.swift",
"Rules/RuleConfigurations/FileNameConfiguration.swift",
"Rules/RuleConfigurations/FileNameNoSpaceConfiguration.swift",
"Rules/RuleConfigurations/FileTypesOrderConfiguration.swift",
"Rules/RuleConfigurations/ForWhereConfiguration.swift",
"Rules/RuleConfigurations/FunctionParameterCountConfiguration.swift",
"Rules/RuleConfigurations/IdentifierNameConfiguration.swift",
"Rules/RuleConfigurations/ImplicitReturnConfiguration.swift",
"Rules/RuleConfigurations/ImplicitlyUnwrappedOptionalConfiguration.swift",
"Rules/RuleConfigurations/InclusiveLanguageConfiguration.swift",
"Rules/RuleConfigurations/IndentationWidthConfiguration.swift",
"Rules/RuleConfigurations/LineLengthConfiguration.swift",
"Rules/RuleConfigurations/MissingDocsConfiguration.swift",
"Rules/RuleConfigurations/ModifierOrderConfiguration.swift",
"Rules/RuleConfigurations/MultilineArgumentsConfiguration.swift",
"Rules/RuleConfigurations/MultilineParametersConfiguration.swift",
"Rules/RuleConfigurations/NameConfiguration.swift",
"Rules/RuleConfigurations/NestingConfiguration.swift",
"Rules/RuleConfigurations/NoEmptyBlockConfiguration.swift",
"Rules/RuleConfigurations/NonOverridableClassDeclarationConfiguration.swift",
"Rules/RuleConfigurations/NumberSeparatorConfiguration.swift",
"Rules/RuleConfigurations/ObjectLiteralConfiguration.swift",
"Rules/RuleConfigurations/OpeningBraceConfiguration.swift",
"Rules/RuleConfigurations/OperatorUsageWhitespaceConfiguration.swift",
"Rules/RuleConfigurations/OverriddenSuperCallConfiguration.swift",
"Rules/RuleConfigurations/PreferKeyPathConfiguration.swift",
"Rules/RuleConfigurations/PrefixedTopLevelConstantConfiguration.swift",
"Rules/RuleConfigurations/PrivateOutletConfiguration.swift",
"Rules/RuleConfigurations/PrivateOverFilePrivateConfiguration.swift",
"Rules/RuleConfigurations/PrivateUnitTestConfiguration.swift",
"Rules/RuleConfigurations/ProhibitedSuperConfiguration.swift",
"Rules/RuleConfigurations/RedundantTypeAnnotationConfiguration.swift",
"Rules/RuleConfigurations/RedundantVoidReturnConfiguration.swift",
"Rules/RuleConfigurations/RequiredEnumCaseConfiguration.swift",
"Rules/RuleConfigurations/SelfBindingConfiguration.swift",
"Rules/RuleConfigurations/ShorthandArgumentConfiguration.swift",
"Rules/RuleConfigurations/SortedImportsConfiguration.swift",
"Rules/RuleConfigurations/StatementPositionConfiguration.swift",
"Rules/RuleConfigurations/SwitchCaseAlignmentConfiguration.swift",
"Rules/RuleConfigurations/TestCaseAccessibilityConfiguration.swift",
"Rules/RuleConfigurations/TodoConfiguration.swift",
"Rules/RuleConfigurations/TrailingClosureConfiguration.swift",
"Rules/RuleConfigurations/TrailingCommaConfiguration.swift",
"Rules/RuleConfigurations/TrailingWhitespaceConfiguration.swift",
"Rules/RuleConfigurations/TypeContentsOrderConfiguration.swift",
"Rules/RuleConfigurations/TypeNameConfiguration.swift",
"Rules/RuleConfigurations/UnitTestConfiguration.swift",
"Rules/RuleConfigurations/UnneededOverrideRuleConfiguration.swift",
"Rules/RuleConfigurations/UnusedDeclarationConfiguration.swift",
"Rules/RuleConfigurations/UnusedImportConfiguration.swift",
"Rules/RuleConfigurations/UnusedOptionalBindingConfiguration.swift",
"Rules/RuleConfigurations/VerticalWhitespaceClosingBracesConfiguration.swift",
"Rules/RuleConfigurations/VerticalWhitespaceConfiguration.swift",
"Rules/RuleConfigurations/XCTSpecificMatcherConfiguration.swift",
"Rules/Style/AttributeNameSpacingRule.swift",
"Rules/Style/AttributesRule.swift",
"Rules/Style/AttributesRuleExamples.swift",
"Rules/Style/ClosingBraceRule.swift",
"Rules/Style/ClosureEndIndentationRule.swift",
"Rules/Style/ClosureEndIndentationRuleExamples.swift",
"Rules/Style/ClosureParameterPositionRule.swift",
"Rules/Style/ClosureSpacingRule.swift",
"Rules/Style/CollectionAlignmentRule.swift",
"Rules/Style/ColonRule.swift",
"Rules/Style/ColonRuleExamples.swift",
"Rules/Style/CommaInheritanceRule.swift",
"Rules/Style/CommaRule.swift",
"Rules/Style/ComputedAccessorsOrderRule.swift",
"Rules/Style/ComputedAccessorsOrderRuleExamples.swift",
"Rules/Style/ConditionalReturnsOnNewlineRule.swift",
"Rules/Style/ContrastedOpeningBraceRule.swift",
"Rules/Style/ContrastedOpeningBraceRuleExamples.swift",
"Rules/Style/ControlStatementRule.swift",
"Rules/Style/DirectReturnRule.swift",
"Rules/Style/EmptyEnumArgumentsRule.swift",
"Rules/Style/EmptyParametersRule.swift",
"Rules/Style/EmptyParenthesesWithTrailingClosureRule.swift",
"Rules/Style/ExplicitSelfRule.swift",
"Rules/Style/ExplicitSelfRuleExamples.swift",
"Rules/Style/FileHeaderRule.swift",
"Rules/Style/FileTypesOrderRule.swift",
"Rules/Style/FileTypesOrderRuleExamples.swift",
"Rules/Style/IdentifierNameRule.swift",
"Rules/Style/IdentifierNameRuleExamples.swift",
"Rules/Style/ImplicitGetterRule.swift",
"Rules/Style/ImplicitGetterRuleExamples.swift",
"Rules/Style/ImplicitReturnRule.swift",
"Rules/Style/ImplicitReturnRuleExamples.swift",
"Rules/Style/InclusiveLanguageRule.swift",
"Rules/Style/InclusiveLanguageRuleExamples.swift",
"Rules/Style/IndentationWidthRule.swift",
"Rules/Style/LeadingWhitespaceRule.swift",
"Rules/Style/LetVarWhitespaceRule.swift",
"Rules/Style/LiteralExpressionEndIndentationRule.swift",
"Rules/Style/ModifierOrderRule.swift",
"Rules/Style/ModifierOrderRuleExamples.swift",
"Rules/Style/MultilineArgumentsBracketsRule.swift",
"Rules/Style/MultilineArgumentsRule.swift",
"Rules/Style/MultilineArgumentsRuleExamples.swift",
"Rules/Style/MultilineFunctionChainsRule.swift",
"Rules/Style/MultilineLiteralBracketsRule.swift",
"Rules/Style/MultilineParametersBracketsRule.swift",
"Rules/Style/MultilineParametersRule.swift",
"Rules/Style/MultilineParametersRuleExamples.swift",
"Rules/Style/MultipleClosuresWithTrailingClosureRule.swift",
"Rules/Style/NoSpaceInMethodCallRule.swift",
"Rules/Style/NonOverridableClassDeclarationRule.swift",
"Rules/Style/NumberSeparatorRule.swift",
"Rules/Style/NumberSeparatorRuleExamples.swift",
"Rules/Style/OpeningBraceRule.swift",
"Rules/Style/OpeningBraceRuleExamples.swift",
"Rules/Style/OperatorFunctionWhitespaceRule.swift",
"Rules/Style/OperatorUsageWhitespaceRule.swift",
"Rules/Style/OperatorUsageWhitespaceRuleExamples.swift",
"Rules/Style/OptionalEnumCaseMatchingRule.swift",
"Rules/Style/PreferSelfInStaticReferencesRule.swift",
"Rules/Style/PreferSelfInStaticReferencesRuleExamples.swift",
"Rules/Style/PreferSelfTypeOverTypeOfSelfRule.swift",
"Rules/Style/PrefixedTopLevelConstantRule.swift",
"Rules/Style/ProtocolPropertyAccessorsOrderRule.swift",
"Rules/Style/RedundantDiscardableLetRule.swift",
"Rules/Style/RedundantSelfInClosureRule.swift",
"Rules/Style/RedundantSelfInClosureRuleExamples.swift",
"Rules/Style/ReturnArrowWhitespaceRule.swift",
"Rules/Style/SelfBindingRule.swift",
"Rules/Style/ShorthandArgumentRule.swift",
"Rules/Style/ShorthandOperatorRule.swift",
"Rules/Style/SingleTestClassRule.swift",
"Rules/Style/SortedEnumCasesRule.swift",
"Rules/Style/SortedImportsRule.swift",
"Rules/Style/SortedImportsRuleExamples.swift",
"Rules/Style/StatementPositionRule.swift",
"Rules/Style/SuperfluousElseRule.swift",
"Rules/Style/SwitchCaseAlignmentRule.swift",
"Rules/Style/SwitchCaseOnNewlineRule.swift",
"Rules/Style/TrailingClosureRule.swift",
"Rules/Style/TrailingCommaRule.swift",
"Rules/Style/TrailingNewlineRule.swift",
"Rules/Style/TrailingWhitespaceRule.swift",
"Rules/Style/TypeContentsOrderRule.swift",
"Rules/Style/TypeContentsOrderRuleExamples.swift",
"Rules/Style/UnneededParenthesesInClosureArgumentRule.swift",
"Rules/Style/UnusedOptionalBindingRule.swift",
"Rules/Style/VerticalParameterAlignmentOnCallRule.swift",
"Rules/Style/VerticalParameterAlignmentRule.swift",
"Rules/Style/VerticalParameterAlignmentRuleExamples.swift",
"Rules/Style/VerticalWhitespaceBetweenCasesRule.swift",
"Rules/Style/VerticalWhitespaceClosingBracesRule.swift",
"Rules/Style/VerticalWhitespaceClosingBracesRuleExamples.swift",
"Rules/Style/VerticalWhitespaceOpeningBracesRule.swift",
"Rules/Style/VerticalWhitespaceRule.swift",
"Rules/Style/VoidReturnRule.swift",
"Visitors/BodyLengthRuleVisitor.swift",
"Visitors/CodeBlockVisitor.swift"
],
"target_dependencies" : [
"SwiftLintCore"
],
"type" : "library"
},
{
"c99name" : "SwiftLintBuildToolPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftLintBuildToolPlugin",
"path" : "Plugins/SwiftLintBuildToolPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SwiftLintBuildToolPlugin"
],
"sources" : [
"Path+Helpers.swift",
"SwiftLintBuildToolPlugin.swift",
"SwiftLintBuildToolPluginError.swift"
],
"target_dependencies" : [
"SwiftLintBinary"
],
"type" : "plugin"
},
{
"c99name" : "SwiftLintBinary",
"module_type" : "BinaryTarget",
"name" : "SwiftLintBinary",
"path" : "remote/archive/SwiftLintBinary-macos.artifactbundle.zip",
"product_memberships" : [
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "MacroTests",
"module_type" : "SwiftTarget",
"name" : "MacroTests",
"path" : "Tests/MacroTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"AcceptableByConfigurationElementTests.swift",
"AutoConfigParserTests.swift",
"SwiftSyntaxRuleTests.swift"
],
"target_dependencies" : [
"SwiftLintCoreMacros"
],
"type" : "test"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"sources" : [
"IntegrationTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"SwiftLintTestHelpers"
],
"type" : "test"
},
{
"c99name" : "GeneratedTests",
"module_type" : "SwiftTarget",
"name" : "GeneratedTests",
"path" : "Tests/GeneratedTests",
"sources" : [
"GeneratedTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"SwiftLintTestHelpers"
],
"type" : "test"
},
{
"c99name" : "ExtraRulesTests",
"module_type" : "SwiftTarget",
"name" : "ExtraRulesTests",
"path" : "Tests/ExtraRulesTests",
"sources" : [
"ExtraRulesTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"SwiftLintTestHelpers"
],
"type" : "test"
},
{
"c99name" : "DyldWarningWorkaround",
"module_type" : "ClangTarget",
"name" : "DyldWarningWorkaround",
"path" : "Source/DyldWarningWorkaround",
"product_memberships" : [
"swiftlint",
"SwiftLintFramework"
],
"sources" : [
"DyldWarningWorkaround.c"
],
"type" : "library"
},
{
"c99name" : "CLITests",
"module_type" : "SwiftTarget",
"name" : "CLITests",
"path" : "Tests/CLITests",
"sources" : [
"RulesFilterTests.swift"
],
"target_dependencies" : [
"swiftlint"
],
"type" : "test"
}
],
"tools_version" : "5.9"
}
Done.