Build Information
Successful build of locheck, reference main (258bcb
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 05:44:54 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Asana/locheck
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 258bcb5 locheck: add support for linux. (#56)
Cloned https://github.com/Asana/locheck.git
Revision (git rev-parse @):
258bcb5d5c49e93e14e8c458ee7d5adbed7e97b7
SUCCESS checkout https://github.com/Asana/locheck.git at main
Fetching https://github.com/yahoojapan/SwiftyXMLParser
[1/764] Fetching swiftyxmlparser
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.88s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/johnsundell/Files.git
[1/1231] Fetching files
[1060/13584] Fetching files, swift-argument-parser
Fetched https://github.com/johnsundell/Files.git from cache (1.59s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.59s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (0.67s)
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/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/johnsundell/Files.git
Working copy of https://github.com/johnsundell/Files.git resolved at 4.2.0
Creating working copy for https://github.com/yahoojapan/SwiftyXMLParser
Working copy of https://github.com/yahoojapan/SwiftyXMLParser resolved at 5.4.0 (eec238e)
========================================
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.89s)
Fetching https://github.com/yahoojapan/SwiftyXMLParser from cache
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.45s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/johnsundell/Files.git from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Fetched https://github.com/johnsundell/Files.git from cache (0.57s)
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/johnsundell/Files.git
Working copy of https://github.com/johnsundell/Files.git resolved at 4.2.0
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 main (258bcb5)
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
[2/10] Write locheck-entitlement.plist
[4/10] Write sources
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/51] Compiling ArgumentParser Name.swift
[9/51] Compiling ArgumentParser Parsed.swift
[10/51] Compiling ArgumentParser ParsedValues.swift
[11/51] Emitting module ArgumentParser
[12/54] Compiling ArgumentParser ParserError.swift
[13/54] Compiling ArgumentParser SplitArguments.swift
[14/54] Compiling ArgumentParser HelpCommand.swift
[15/54] Compiling ArgumentParser SequenceExtensions.swift
[16/54] Compiling ArgumentParser StringExtensions.swift
[17/54] Compiling ArgumentParser Tree.swift
[18/54] Compiling ArgumentParser Argument.swift
[19/54] Compiling ArgumentParser ArgumentHelp.swift
[20/54] Compiling ArgumentParser CompletionKind.swift
[21/54] Compiling ArgumentParser Errors.swift
[22/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[23/54] Compiling ArgumentParser ParsableCommand.swift
[24/54] Compiling ArgumentParser ArgumentDecoder.swift
[25/54] Compiling ArgumentParser ArgumentDefinition.swift
[26/54] Compiling ArgumentParser CommandConfiguration.swift
[27/54] Compiling ArgumentParser EnumerableFlag.swift
[28/54] Compiling ArgumentParser ExpressibleByArgument.swift
[29/54] Compiling ArgumentParser ParsableArguments.swift
[30/54] Compiling ArgumentParser Flag.swift
[31/54] Compiling ArgumentParser NameSpecification.swift
[32/54] Compiling ArgumentParser Option.swift
[33/54] Compiling ArgumentParser OptionGroup.swift
[34/54] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/54] Compiling ArgumentParser CompletionsGenerator.swift
[36/54] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/54] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/54] Compiling ArgumentParser HelpGenerator.swift
[39/54] Compiling ArgumentParser MessageInfo.swift
[40/54] Compiling ArgumentParser UsageGenerator.swift
[41/54] Compiling ArgumentParser ArgumentSet.swift
[42/54] Compiling ArgumentParser CommandParser.swift
[43/54] Compiling ArgumentParser InputOrigin.swift
[44/54] Compiling SwiftyXMLParser XML.swift
[45/54] Compiling SwiftyXMLParser Parser.swift
[46/54] Compiling SwiftyXMLParser Error.swift
[47/54] Compiling SwiftyXMLParser Element.swift
[48/54] Emitting module SwiftyXMLParser
[49/54] Compiling SwiftyXMLParser Accessor.swift
[50/54] Emitting module Files
[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 NSTextCheckingResult+locheck.swift
[56/79] Compiling LocheckLogic Sequence+locheck.swift
[57/79] Compiling LocheckLogic String+locheck.swift
[58/79] Compiling LocheckLogic parseAndValidateStringsdict.swift
[59/79] Compiling LocheckLogic parseAndValidateXCStrings.swift
[60/79] Compiling LocheckLogic StringsdictEntry.swift
[61/79] Compiling LocheckLogic StringsdictFile.swift
[62/79] Compiling LocheckLogic LocalizedStringPair.swift
[63/79] Compiling LocheckLogic LprojFiles.swift
[64/79] Compiling LocheckLogic StringsdictRule.swift
[65/79] Compiling LocheckLogic parseAndValidateAndroidStrings.swift
[66/79] Compiling LocheckLogic validateKeyPresence.swift
[67/79] Compiling LocheckLogic validateLproj.swift
[68/79] Compiling LocheckLogic FormatArgument.swift
[69/79] Compiling LocheckLogic FormatString.swift
[70/79] Compiling LocheckLogic LexedStringsdictString.swift
[71/79] Emitting module LocheckLogic
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:52: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
28 | }
29 |
30 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
31 | var kindIdentifier: String { get }
32 | var uniquifyingInformation: String { get }
:
50 | public let path: String
51 | public let lineNumber: Int
52 | 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
53 |
54 | var messageForXcode: String {
[72/79] Compiling LocheckLogic parseXML.swift
[73/79] Compiling LocheckLogic readPlistDict.swift
[74/79] Compiling LocheckLogic ProblemReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:52: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
28 | }
29 |
30 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
31 | var kindIdentifier: String { get }
32 | var uniquifyingInformation: String { get }
:
50 | public let path: String
51 | public let lineNumber: Int
52 | 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
53 |
54 | var messageForXcode: String {
[75/79] Compiling LocheckLogic Problems.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:52: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
28 | }
29 |
30 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
31 | var kindIdentifier: String { get }
32 | var uniquifyingInformation: String { get }
:
50 | public let path: String
51 | public let lineNumber: Int
52 | 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
53 |
54 | var messageForXcode: String {
[76/79] Compiling LocheckLogic AndroidStringsFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:52: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
28 | }
29 |
30 | public protocol Problem {
| `- note: protocol 'Problem' does not conform to the 'Sendable' protocol
31 | var kindIdentifier: String { get }
32 | var uniquifyingInformation: String { get }
:
50 | public let path: String
51 | public let lineNumber: Int
52 | 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
53 |
54 | var messageForXcode: String {
[77/82] Emitting module LocheckCommand
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:22: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
20 |
21 | struct Locheck: ParsableCommand {
22 | 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
23 | abstract: """
24 | 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 Files
10 | import Foundation
:
20 |
21 | struct Locheck: ParsableCommand {
22 | 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
23 | abstract: """
24 | Validate your Xcode localization files. The different commands have
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:85:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
83 |
84 | @Option(help: ignoreHelpText)
85 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
86 |
87 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:88:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
86 |
87 | @Flag(help: ignoreMissingHelpText)
88 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
89 |
90 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:91:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
89 |
90 | @Flag(help: ignoreWarningsHelpText)
91 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:94:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | @Flag(help: treatWarningsAsErrorsHelpText)
94 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
95 |
96 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:77: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
75 |
76 | struct XCStrings: HasIgnoreWithShorthand, ParsableCommand {
77 | 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
78 | commandName: "xcstrings",
79 | 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:131:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
129 |
130 | @Option(help: ignoreHelpText)
131 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
132 |
133 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:134:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
132 |
133 | @Flag(help: ignoreMissingHelpText)
134 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:137:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 | @Flag(help: ignoreWarningsHelpText)
137 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
138 |
139 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:140:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
138 |
139 | @Flag(help: treatWarningsAsErrorsHelpText)
140 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
141 |
142 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:123: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
121 |
122 | struct AndroidStrings: HasIgnoreWithShorthand, ParsableCommand {
123 | 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
124 | commandName: "androidstrings",
125 | 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:183:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
181 |
182 | @Option(help: ignoreHelpText)
183 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
184 |
185 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:186:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
184 |
185 | @Flag(help: ignoreMissingHelpText)
186 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
187 |
188 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:189:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
187 |
188 | @Flag(help: ignoreWarningsHelpText)
189 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
190 |
191 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:192:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
190 |
191 | @Flag(help: treatWarningsAsErrorsHelpText)
192 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
193 |
194 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:176: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
174 |
175 | struct Stringsdict: HasIgnoreWithShorthand, ParsableCommand {
176 | 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
177 | abstract: "Directly compare .stringsdict files")
178 |
/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:234:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
232 |
233 | @Option(help: ignoreHelpText)
234 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
235 |
236 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:237:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
235 |
236 | @Flag(help: ignoreMissingHelpText)
237 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:240:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | @Flag(help: ignoreWarningsHelpText)
240 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
241 |
242 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:243:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
241 |
242 | @Flag(help: treatWarningsAsErrorsHelpText)
243 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
244 |
245 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:227: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
225 |
226 | struct Lproj: HasIgnoreWithShorthand, ParsableCommand {
227 | 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
228 | abstract: "Compare the contents of multiple .lproj files")
229 |
/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:292:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
290 |
291 | @Option(help: ignoreHelpText)
292 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
293 |
294 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:295:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
293 |
294 | @Flag(help: ignoreMissingHelpText)
295 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
296 |
297 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:298:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
296 |
297 | @Flag(help: ignoreWarningsHelpText)
298 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
299 |
300 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:304:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
302 |
303 | @Flag(help: treatWarningsAsErrorsHelpText)
304 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
305 |
306 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:280: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
278 |
279 | struct DiscoverLproj: HasIgnoreWithShorthand, ParsableCommand {
280 | 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
281 | commandName: "discoverlproj",
282 | 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:378:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
376 |
377 | @Option(help: ignoreHelpText)
378 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
379 |
380 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:381:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
379 |
380 | @Flag(help: ignoreMissingHelpText)
381 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
382 |
383 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:384:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
382 |
383 | @Flag(help: ignoreWarningsHelpText)
384 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
385 |
386 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:390:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
388 |
389 | @Flag(help: treatWarningsAsErrorsHelpText)
390 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
391 |
392 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:370: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
368 |
369 | struct DiscoverValues: HasIgnoreWithShorthand, ParsableCommand {
370 | 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
371 | commandName: "discovervalues",
372 | 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:466: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
464 |
465 | struct Version: ParsableCommand {
466 | 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
467 | commandName: "version",
468 | 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:22: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
20 |
21 | struct Locheck: ParsableCommand {
22 | 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
23 | abstract: """
24 | 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 Files
10 | import Foundation
:
20 |
21 | struct Locheck: ParsableCommand {
22 | 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
23 | abstract: """
24 | Validate your Xcode localization files. The different commands have
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:85:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
83 |
84 | @Option(help: ignoreHelpText)
85 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
86 |
87 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:88:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
86 |
87 | @Flag(help: ignoreMissingHelpText)
88 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
89 |
90 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:91:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
89 |
90 | @Flag(help: ignoreWarningsHelpText)
91 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:94:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
92 |
93 | @Flag(help: treatWarningsAsErrorsHelpText)
94 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
95 |
96 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:77: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
75 |
76 | struct XCStrings: HasIgnoreWithShorthand, ParsableCommand {
77 | 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
78 | commandName: "xcstrings",
79 | 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:131:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
129 |
130 | @Option(help: ignoreHelpText)
131 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
132 |
133 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:134:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
132 |
133 | @Flag(help: ignoreMissingHelpText)
134 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:137:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 | @Flag(help: ignoreWarningsHelpText)
137 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
138 |
139 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:140:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
138 |
139 | @Flag(help: treatWarningsAsErrorsHelpText)
140 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
141 |
142 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:123: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
121 |
122 | struct AndroidStrings: HasIgnoreWithShorthand, ParsableCommand {
123 | 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
124 | commandName: "androidstrings",
125 | 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:183:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
181 |
182 | @Option(help: ignoreHelpText)
183 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
184 |
185 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:186:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
184 |
185 | @Flag(help: ignoreMissingHelpText)
186 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
187 |
188 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:189:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
187 |
188 | @Flag(help: ignoreWarningsHelpText)
189 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
190 |
191 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:192:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
190 |
191 | @Flag(help: treatWarningsAsErrorsHelpText)
192 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
193 |
194 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:176: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
174 |
175 | struct Stringsdict: HasIgnoreWithShorthand, ParsableCommand {
176 | 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
177 | abstract: "Directly compare .stringsdict files")
178 |
/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:234:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
232 |
233 | @Option(help: ignoreHelpText)
234 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
235 |
236 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:237:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
235 |
236 | @Flag(help: ignoreMissingHelpText)
237 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:240:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | @Flag(help: ignoreWarningsHelpText)
240 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
241 |
242 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:243:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
241 |
242 | @Flag(help: treatWarningsAsErrorsHelpText)
243 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
244 |
245 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:227: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
225 |
226 | struct Lproj: HasIgnoreWithShorthand, ParsableCommand {
227 | 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
228 | abstract: "Compare the contents of multiple .lproj files")
229 |
/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:292:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
290 |
291 | @Option(help: ignoreHelpText)
292 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
293 |
294 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:295:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
293 |
294 | @Flag(help: ignoreMissingHelpText)
295 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
296 |
297 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:298:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
296 |
297 | @Flag(help: ignoreWarningsHelpText)
298 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
299 |
300 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:304:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
302 |
303 | @Flag(help: treatWarningsAsErrorsHelpText)
304 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
305 |
306 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:280: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
278 |
279 | struct DiscoverLproj: HasIgnoreWithShorthand, ParsableCommand {
280 | 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
281 | commandName: "discoverlproj",
282 | 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:378:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
376 |
377 | @Option(help: ignoreHelpText)
378 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
379 |
380 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:381:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
379 |
380 | @Flag(help: ignoreMissingHelpText)
381 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
382 |
383 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:384:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
382 |
383 | @Flag(help: ignoreWarningsHelpText)
384 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
385 |
386 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:390:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
388 |
389 | @Flag(help: treatWarningsAsErrorsHelpText)
390 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
391 |
392 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:370: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
368 |
369 | struct DiscoverValues: HasIgnoreWithShorthand, ParsableCommand {
370 | 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
371 | commandName: "discovervalues",
372 | 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:466: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
464 |
465 | struct Version: ParsableCommand {
466 | 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
467 | commandName: "version",
468 | 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! (28.28s)
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.