Build Information
Successful build of locheck, reference 0.9.11 (327454
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 05:48:03 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
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Asana/locheck.git
Reference: 0.9.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Asana/locheck
* tag 0.9.11 -> FETCH_HEAD
HEAD is now at 327454d 0.9.11
Cloned https://github.com/Asana/locheck.git
Revision (git rev-parse @):
327454d366d6938ee8664faadf37f5c86211dd4b
SUCCESS checkout https://github.com/Asana/locheck.git at 0.9.11
Fetching https://github.com/yahoojapan/SwiftyXMLParser
[8/764] Fetching swiftyxmlparser
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.89s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/johnsundell/Files.git
[1/1231] Fetching files
[1183/13584] Fetching files, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.64s)
Fetched https://github.com/johnsundell/Files.git from cache (1.64s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.67s)
Creating working copy for https://github.com/yahoojapan/SwiftyXMLParser
Working copy of https://github.com/yahoojapan/SwiftyXMLParser resolved at 5.4.0 (eec238e)
Creating working copy for https://github.com/johnsundell/Files.git
Working copy of https://github.com/johnsundell/Files.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "locheck",
"name": "locheck",
"url": "https://github.com/Asana/locheck.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/locheck",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.4.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "files",
"name": "Files",
"url": "https://github.com/johnsundell/Files.git",
"version": "4.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
"dependencies": [
]
},
{
"identity": "swiftyxmlparser",
"name": "SwiftyXMLParser",
"url": "https://github.com/yahoojapan/SwiftyXMLParser",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyXMLParser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Asana/locheck.git
[1/1889] Fetching locheck
Fetched https://github.com/Asana/locheck.git from cache (0.87s)
Fetching https://github.com/yahoojapan/SwiftyXMLParser from cache
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.44s)
Fetching https://github.com/johnsundell/Files.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/johnsundell/Files.git from cache (0.58s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.03s)
Creating working copy for https://github.com/yahoojapan/SwiftyXMLParser
Working copy of https://github.com/yahoojapan/SwiftyXMLParser resolved at 5.4.0 (eec238e)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.4
Creating working copy for https://github.com/Asana/locheck.git
Working copy of https://github.com/Asana/locheck.git resolved at 0.9.11 (327454d)
Creating working copy for https://github.com/johnsundell/Files.git
Working copy of https://github.com/johnsundell/Files.git resolved at 4.2.0
Found 3 product dependencies
- swift-argument-parser
- Files
- SwiftyXMLParser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Asana/locheck.git
Running build ...
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
Building for debugging...
[0/10] Write sources
[0/10] Write locheck-entitlement.plist
[0/10] Write sources
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/51] Emitting module Files
[9/51] Emitting module ArgumentParser
[10/54] Compiling ArgumentParser Argument.swift
[11/54] Compiling ArgumentParser ArgumentHelp.swift
[12/54] Compiling ArgumentParser CompletionKind.swift
[13/54] Compiling ArgumentParser Errors.swift
[14/54] Compiling ArgumentParser BashCompletionsGenerator.swift
[15/54] Compiling ArgumentParser CompletionsGenerator.swift
[16/54] Compiling ArgumentParser FishCompletionsGenerator.swift
[17/54] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/54] Compiling ArgumentParser CommandConfiguration.swift
[19/54] Compiling ArgumentParser EnumerableFlag.swift
[20/54] Compiling ArgumentParser ExpressibleByArgument.swift
[21/54] Compiling ArgumentParser ParsableArguments.swift
[22/54] Compiling ArgumentParser Flag.swift
[23/54] Compiling ArgumentParser NameSpecification.swift
[24/54] Compiling ArgumentParser Option.swift
[25/54] Compiling ArgumentParser OptionGroup.swift
[26/54] Compiling ArgumentParser ParserError.swift
[27/54] Compiling ArgumentParser SplitArguments.swift
[28/54] Compiling ArgumentParser HelpCommand.swift
[29/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/54] Compiling ArgumentParser ParsableCommand.swift
[31/54] Compiling ArgumentParser ArgumentDecoder.swift
[32/54] Compiling ArgumentParser ArgumentDefinition.swift
[33/54] Compiling ArgumentParser SequenceExtensions.swift
[34/54] Compiling ArgumentParser StringExtensions.swift
[35/54] Compiling ArgumentParser Tree.swift
[36/54] Compiling SwiftyXMLParser XML.swift
[37/54] Compiling ArgumentParser Name.swift
[38/54] Compiling ArgumentParser Parsed.swift
[39/54] Compiling ArgumentParser ParsedValues.swift
[40/54] Compiling ArgumentParser ArgumentSet.swift
[41/54] Compiling ArgumentParser CommandParser.swift
[42/54] Compiling ArgumentParser InputOrigin.swift
[43/54] Compiling ArgumentParser HelpGenerator.swift
[44/54] Compiling ArgumentParser MessageInfo.swift
[45/54] Compiling ArgumentParser UsageGenerator.swift
[46/54] Compiling SwiftyXMLParser Parser.swift
[47/54] Compiling SwiftyXMLParser Error.swift
[48/54] Emitting module SwiftyXMLParser
[49/54] Compiling SwiftyXMLParser Element.swift
[50/54] Compiling SwiftyXMLParser Accessor.swift
[51/54] Compiling Files Files.swift
[52/77] Compiling LocheckLogic Expressions.swift
[53/77] Compiling LocheckLogic File+locheck.swift
[54/77] Compiling LocheckLogic NSRegularExpression+locheck.swift
[55/79] Compiling LocheckLogic StringsdictEntry.swift
[56/79] Compiling LocheckLogic StringsdictFile.swift
[57/79] Compiling LocheckLogic validateKeyPresence.swift
[58/79] Compiling LocheckLogic validateLproj.swift
[59/79] Compiling LocheckLogic StringsdictRule.swift
[60/79] Compiling LocheckLogic parseAndValidateAndroidStrings.swift
[61/79] Emitting module LocheckLogic
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:46:20: warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
25 | var kindIdentifier: String { get }
26 | var uniquifyingInformation: String { get }
:
44 | public let path: String
45 | public let lineNumber: Int
46 | public let problem: Problem
| `- warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
47 |
48 | var messageForXcode: String {
[62/79] Compiling LocheckLogic parseXML.swift
[63/79] Compiling LocheckLogic readPlistDict.swift
[64/79] Compiling LocheckLogic parseAndValidateStringsdict.swift
[65/79] Compiling LocheckLogic parseAndValidateXCStrings.swift
[66/79] Compiling LocheckLogic LocalizedStringPair.swift
[67/79] Compiling LocheckLogic LprojFiles.swift
[68/79] Compiling LocheckLogic NSTextCheckingResult+locheck.swift
[69/79] Compiling LocheckLogic Sequence+locheck.swift
[70/79] Compiling LocheckLogic String+locheck.swift
[71/79] Compiling LocheckLogic ProblemReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:46:20: warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
25 | var kindIdentifier: String { get }
26 | var uniquifyingInformation: String { get }
:
44 | public let path: String
45 | public let lineNumber: Int
46 | public let problem: Problem
| `- warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
47 |
48 | var messageForXcode: String {
[72/79] Compiling LocheckLogic Problems.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:46:20: warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
25 | var kindIdentifier: String { get }
26 | var uniquifyingInformation: String { get }
:
44 | public let path: String
45 | public let lineNumber: Int
46 | public let problem: Problem
| `- warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
47 |
48 | var messageForXcode: String {
[73/79] Compiling LocheckLogic AndroidStringsFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:46:20: warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
25 | var kindIdentifier: String { get }
26 | var uniquifyingInformation: String { get }
:
44 | public let path: String
45 | public let lineNumber: Int
46 | public let problem: Problem
| `- warning: stored property 'problem' of 'Sendable'-conforming struct 'LocalProblem' has non-sendable type 'any Problem'; this is an error in the Swift 6 language mode
47 |
48 | var messageForXcode: String {
[74/79] Compiling LocheckLogic FormatArgument.swift
[75/79] Compiling LocheckLogic FormatString.swift
[76/79] Compiling LocheckLogic LexedStringsdictString.swift
[77/82] Emitting module LocheckCommand
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:17:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | struct Locheck: ParsableCommand {
17 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
18 | abstract: """
19 | Validate your Xcode localization files. The different commands have
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
6 | //
7 |
8 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
9 | import Darwin
10 | import Files
:
15 |
16 | struct Locheck: ParsableCommand {
17 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
18 | abstract: """
19 | Validate your Xcode localization files. The different commands have
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:80:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
78 |
79 | @Option(help: ignoreHelpText)
80 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:83:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | @Flag(help: ignoreMissingHelpText)
83 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:86:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | @Flag(help: ignoreWarningsHelpText)
86 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:89:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | @Flag(help: treatWarningsAsErrorsHelpText)
89 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:72:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | struct XCStrings: HasIgnoreWithShorthand, ParsableCommand {
72 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
73 | commandName: "xcstrings",
74 | abstract: "Directly compare .strings files")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:126:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
124 |
125 | @Option(help: ignoreHelpText)
126 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
127 |
128 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:129:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
127 |
128 | @Flag(help: ignoreMissingHelpText)
129 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
130 |
131 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:132:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
130 |
131 | @Flag(help: ignoreWarningsHelpText)
132 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:135:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | @Flag(help: treatWarningsAsErrorsHelpText)
135 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:118:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | struct AndroidStrings: HasIgnoreWithShorthand, ParsableCommand {
118 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
119 | commandName: "androidstrings",
120 | abstract: "Directly compare strings.xml files")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:178:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
176 |
177 | @Option(help: ignoreHelpText)
178 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
179 |
180 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:181:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
179 |
180 | @Flag(help: ignoreMissingHelpText)
181 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:184:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | @Flag(help: ignoreWarningsHelpText)
184 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:187:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | @Flag(help: treatWarningsAsErrorsHelpText)
187 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:171:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | struct Stringsdict: HasIgnoreWithShorthand, ParsableCommand {
171 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
172 | abstract: "Directly compare .stringsdict files")
173 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:229:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 | @Option(help: ignoreHelpText)
229 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
230 |
231 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:232:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
230 |
231 | @Flag(help: ignoreMissingHelpText)
232 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
233 |
234 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:235:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
233 |
234 | @Flag(help: ignoreWarningsHelpText)
235 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
236 |
237 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:238:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
236 |
237 | @Flag(help: treatWarningsAsErrorsHelpText)
238 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
239 |
240 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:222:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
220 |
221 | struct Lproj: HasIgnoreWithShorthand, ParsableCommand {
222 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
223 | abstract: "Compare the contents of multiple .lproj files")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:287:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
285 |
286 | @Option(help: ignoreHelpText)
287 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
288 |
289 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:290:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
288 |
289 | @Flag(help: ignoreMissingHelpText)
290 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
291 |
292 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:293:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
291 |
292 | @Flag(help: ignoreWarningsHelpText)
293 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:299:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
297 |
298 | @Flag(help: treatWarningsAsErrorsHelpText)
299 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
300 |
301 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:275:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
273 |
274 | struct DiscoverLproj: HasIgnoreWithShorthand, ParsableCommand {
275 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
276 | commandName: "discoverlproj",
277 | abstract: "Automatically find .lproj files within a directory and compare them")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:373:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @Option(help: ignoreHelpText)
373 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
374 |
375 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:376:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
374 |
375 | @Flag(help: ignoreMissingHelpText)
376 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
377 |
378 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:379:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
377 |
378 | @Flag(help: ignoreWarningsHelpText)
379 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
380 |
381 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:385:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
383 |
384 | @Flag(help: treatWarningsAsErrorsHelpText)
385 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
386 |
387 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:365:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
363 |
364 | struct DiscoverValues: HasIgnoreWithShorthand, ParsableCommand {
365 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
366 | commandName: "discovervalues",
367 | abstract: "Automatically find values/ directories files within a directory and compare their strings.xml files")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:461:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
459 |
460 | struct Version: ParsableCommand {
461 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
462 | commandName: "version",
463 | abstract: "Print the installed version of locheck to stdout")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
[78/82] Compiling LocheckCommand FileOrDirectoryArg.swift
[79/82] Compiling LocheckCommand main.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:17:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | struct Locheck: ParsableCommand {
17 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
18 | abstract: """
19 | Validate your Xcode localization files. The different commands have
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
6 | //
7 |
8 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
9 | import Darwin
10 | import Files
:
15 |
16 | struct Locheck: ParsableCommand {
17 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
18 | abstract: """
19 | Validate your Xcode localization files. The different commands have
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:80:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
78 |
79 | @Option(help: ignoreHelpText)
80 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:83:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | @Flag(help: ignoreMissingHelpText)
83 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:86:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | @Flag(help: ignoreWarningsHelpText)
86 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:89:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | @Flag(help: treatWarningsAsErrorsHelpText)
89 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:72:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | struct XCStrings: HasIgnoreWithShorthand, ParsableCommand {
72 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
73 | commandName: "xcstrings",
74 | abstract: "Directly compare .strings files")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:126:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
124 |
125 | @Option(help: ignoreHelpText)
126 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
127 |
128 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:129:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
127 |
128 | @Flag(help: ignoreMissingHelpText)
129 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
130 |
131 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:132:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
130 |
131 | @Flag(help: ignoreWarningsHelpText)
132 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:135:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | @Flag(help: treatWarningsAsErrorsHelpText)
135 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:118:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | struct AndroidStrings: HasIgnoreWithShorthand, ParsableCommand {
118 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
119 | commandName: "androidstrings",
120 | abstract: "Directly compare strings.xml files")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:178:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
176 |
177 | @Option(help: ignoreHelpText)
178 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
179 |
180 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:181:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
179 |
180 | @Flag(help: ignoreMissingHelpText)
181 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:184:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | @Flag(help: ignoreWarningsHelpText)
184 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:187:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
185 |
186 | @Flag(help: treatWarningsAsErrorsHelpText)
187 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
188 |
189 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:171:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | struct Stringsdict: HasIgnoreWithShorthand, ParsableCommand {
171 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
172 | abstract: "Directly compare .stringsdict files")
173 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:229:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 | @Option(help: ignoreHelpText)
229 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
230 |
231 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:232:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
230 |
231 | @Flag(help: ignoreMissingHelpText)
232 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
233 |
234 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:235:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
233 |
234 | @Flag(help: ignoreWarningsHelpText)
235 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
236 |
237 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:238:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
236 |
237 | @Flag(help: treatWarningsAsErrorsHelpText)
238 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
239 |
240 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:222:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
220 |
221 | struct Lproj: HasIgnoreWithShorthand, ParsableCommand {
222 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
223 | abstract: "Compare the contents of multiple .lproj files")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:287:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
285 |
286 | @Option(help: ignoreHelpText)
287 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
288 |
289 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:290:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
288 |
289 | @Flag(help: ignoreMissingHelpText)
290 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
291 |
292 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:293:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
291 |
292 | @Flag(help: ignoreWarningsHelpText)
293 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
294 |
295 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:299:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
297 |
298 | @Flag(help: treatWarningsAsErrorsHelpText)
299 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
300 |
301 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:275:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
273 |
274 | struct DiscoverLproj: HasIgnoreWithShorthand, ParsableCommand {
275 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
276 | commandName: "discoverlproj",
277 | abstract: "Automatically find .lproj files within a directory and compare them")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:373:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @Option(help: ignoreHelpText)
373 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
374 |
375 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:376:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
374 |
375 | @Flag(help: ignoreMissingHelpText)
376 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
377 |
378 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:379:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
377 |
378 | @Flag(help: ignoreWarningsHelpText)
379 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
380 |
381 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:385:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
383 |
384 | @Flag(help: treatWarningsAsErrorsHelpText)
385 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
386 |
387 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:365:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
363 |
364 | struct DiscoverValues: HasIgnoreWithShorthand, ParsableCommand {
365 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
366 | commandName: "discovervalues",
367 | abstract: "Automatically find values/ directories files within a directory and compare their strings.xml files")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:461:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
459 |
460 | struct Version: ParsableCommand {
461 | static let configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'configuration' 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
462 | commandName: "version",
463 | abstract: "Print the installed version of locheck to stdout")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
[79/82] Write Objects.LinkFileList
[80/82] Linking locheck
[81/82] Applying locheck
Build complete! (29.01s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "0.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "4.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/Files.git"
},
{
"identity" : "swiftyxmlparser",
"requirement" : {
"branch" : [
"5.4.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/yahoojapan/SwiftyXMLParser"
}
],
"manifest_display_name" : "locheck",
"name" : "locheck",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "locheck",
"targets" : [
"LocheckCommand"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "LocheckLogicTests",
"module_type" : "SwiftTarget",
"name" : "LocheckLogicTests",
"path" : "Tests/LocheckLogicTests",
"sources" : [
"Asserts.swift",
"FormatStringTests.swift",
"LexedStringsdictStringsTests.swift",
"LocalizedStringPairTests.swift",
"StringsdictEntryTests.swift",
"ValidateStringsTests.swift",
"parseAndValidateAndroidStringsTests.swift",
"parseAndValidateStringsdictTests.swift"
],
"target_dependencies" : [
"LocheckLogic"
],
"type" : "test"
},
{
"c99name" : "LocheckLogic",
"module_type" : "SwiftTarget",
"name" : "LocheckLogic",
"path" : "Sources/LocheckLogic",
"product_dependencies" : [
"Files",
"SwiftyXMLParser"
],
"product_memberships" : [
"locheck"
],
"sources" : [
"Expressions.swift",
"Extensions/File+locheck.swift",
"Extensions/NSRegularExpression+locheck.swift",
"Extensions/NSTextCheckingResult+locheck.swift",
"Extensions/Sequence+locheck.swift",
"Extensions/String+locheck.swift",
"ProblemReporter.swift",
"Problems.swift",
"Types/AndroidStringsFile.swift",
"Types/FormatArgument.swift",
"Types/FormatString.swift",
"Types/LexedStringsdictString.swift",
"Types/LocalizedStringPair.swift",
"Types/LprojFiles.swift",
"Types/StringsdictEntry.swift",
"Types/StringsdictFile.swift",
"Types/StringsdictRule.swift",
"Validators/parseAndValidateAndroidStrings.swift",
"Validators/parseAndValidateStringsdict.swift",
"Validators/parseAndValidateXCStrings.swift",
"Validators/validateKeyPresence.swift",
"Validators/validateLproj.swift",
"parseXML.swift",
"readPlistDict.swift"
],
"type" : "library"
},
{
"c99name" : "LocheckCommandTests",
"module_type" : "SwiftTarget",
"name" : "LocheckCommandTests",
"path" : "Tests/LocheckCommandTests",
"sources" : [
"ExecutableTests.swift"
],
"target_dependencies" : [
"LocheckCommand"
],
"type" : "test"
},
{
"c99name" : "LocheckCommand",
"module_type" : "SwiftTarget",
"name" : "LocheckCommand",
"path" : "Sources/LocheckCommand",
"product_dependencies" : [
"ArgumentParser",
"Files"
],
"product_memberships" : [
"locheck"
],
"sources" : [
"FileOrDirectoryArg.swift",
"main.swift"
],
"target_dependencies" : [
"LocheckLogic"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Done.