Build Information
Successful build of locheck, reference main (36cc38), with Swift 6.1 for macOS (SPM) on 23 Sep 2025 17:50:41 UTC.
Swift 6 data race errors: 38
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 36cc382 Merge pull request #61 from Asana/uladzislaubirukou/update-version
Cloned https://github.com/Asana/locheck.git
Revision (git rev-parse @):
36cc382e60f9cc23e2f85567d217bc8c0a4f9423
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.85s)
Fetching https://github.com/johnsundell/Files.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/1248] Fetching files
Fetched https://github.com/johnsundell/Files.git from cache (0.84s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.13s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (1.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.61s)
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
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/1921] Fetching locheck
Fetched https://github.com/Asana/locheck.git from cache (0.91s)
Fetching https://github.com/yahoojapan/SwiftyXMLParser from cache
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.47s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/johnsundell/Files.git from cache
Fetched https://github.com/johnsundell/Files.git from cache (0.55s)
Fetched https://github.com/apple/swift-argument-parser 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.63s)
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/Asana/locheck.git
Working copy of https://github.com/Asana/locheck.git resolved at main (36cc382)
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
Found 3 product dependencies
- swift-argument-parser
- Files
- SwiftyXMLParser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Asana/locheck.git
https://github.com/Asana/locheck.git
{
"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",
"StringCatalogTests.swift",
"StringCatalogValidatorTests.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/StringCatalog.swift",
"Types/StringsdictEntry.swift",
"Types/StringsdictFile.swift",
"Types/StringsdictRule.swift",
"Validators/parseAndValidateAndroidStrings.swift",
"Validators/parseAndValidateStringCatalog.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",
"StringCatalogCommandTests.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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/10] Write sources
[3/10] Write locheck-entitlement.plist
[5/10] Write sources
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[8/51] Emitting module ArgumentParser
[9/54] Compiling ArgumentParser ParserError.swift
[10/54] Compiling ArgumentParser SplitArguments.swift
[11/54] Compiling ArgumentParser HelpCommand.swift
[12/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[13/54] Compiling ArgumentParser ParsableCommand.swift
[14/54] Compiling ArgumentParser ArgumentDecoder.swift
[15/54] Compiling ArgumentParser ArgumentDefinition.swift
[16/54] Compiling ArgumentParser Flag.swift
[17/54] Compiling ArgumentParser NameSpecification.swift
[18/54] Compiling ArgumentParser Option.swift
[19/54] Compiling ArgumentParser OptionGroup.swift
[20/54] Compiling ArgumentParser SequenceExtensions.swift
[21/54] Compiling ArgumentParser StringExtensions.swift
[22/54] Compiling ArgumentParser Tree.swift
[23/54] Compiling ArgumentParser CommandConfiguration.swift
[24/54] Compiling ArgumentParser EnumerableFlag.swift
[25/54] Compiling ArgumentParser ExpressibleByArgument.swift
[26/54] Compiling ArgumentParser ParsableArguments.swift
[27/54] Compiling ArgumentParser Argument.swift
[28/54] Compiling ArgumentParser ArgumentHelp.swift
[29/54] Compiling ArgumentParser CompletionKind.swift
[30/54] Compiling ArgumentParser Errors.swift
[31/54] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/54] Compiling ArgumentParser CompletionsGenerator.swift
[33/54] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/54] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/54] Compiling ArgumentParser Name.swift
[36/54] Compiling ArgumentParser Parsed.swift
[37/54] Compiling ArgumentParser ParsedValues.swift
[38/54] Compiling ArgumentParser ArgumentSet.swift
[39/54] Compiling ArgumentParser CommandParser.swift
[40/54] Compiling ArgumentParser InputOrigin.swift
[41/54] Compiling ArgumentParser HelpGenerator.swift
[42/54] Compiling ArgumentParser MessageInfo.swift
[43/54] Compiling ArgumentParser UsageGenerator.swift
[44/54] Compiling SwiftyXMLParser XML.swift
[45/54] Compiling SwiftyXMLParser Error.swift
[46/54] Compiling SwiftyXMLParser Parser.swift
[47/54] Emitting module SwiftyXMLParser
[48/54] Compiling SwiftyXMLParser Element.swift
[49/54] Compiling SwiftyXMLParser Accessor.swift
[50/54] Emitting module Files
[51/54] Compiling Files Files.swift
[52/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 {
[53/81] Compiling LocheckLogic validateKeyPresence.swift
[54/81] Compiling LocheckLogic validateLproj.swift
[55/81] Compiling LocheckLogic Expressions.swift
[56/81] Compiling LocheckLogic File+locheck.swift
[57/81] Compiling LocheckLogic NSRegularExpression+locheck.swift
[58/81] Compiling LocheckLogic StringsdictEntry.swift
[59/81] Compiling LocheckLogic StringsdictFile.swift
[60/81] Compiling LocheckLogic StringsdictRule.swift
[61/81] Compiling LocheckLogic NSTextCheckingResult+locheck.swift
[62/81] Compiling LocheckLogic Sequence+locheck.swift
[63/81] Compiling LocheckLogic String+locheck.swift
[64/81] Compiling LocheckLogic FormatArgument.swift
[65/81] Compiling LocheckLogic FormatString.swift
[66/81] Compiling LocheckLogic LexedStringsdictString.swift
[67/81] Compiling LocheckLogic LocalizedStringPair.swift
[68/81] Compiling LocheckLogic LprojFiles.swift
[69/81] Compiling LocheckLogic StringCatalog.swift
[70/81] Compiling LocheckLogic parseAndValidateStringsdict.swift
[71/81] Compiling LocheckLogic parseAndValidateXCStrings.swift
[72/81] Compiling LocheckLogic parseXML.swift
[73/81] Compiling LocheckLogic readPlistDict.swift
[74/81] Compiling LocheckLogic parseAndValidateAndroidStrings.swift
[75/81] Compiling LocheckLogic parseAndValidateStringCatalog.swift
[76/81] 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 {
[77/81] 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 {
[78/81] 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 {
[79/84] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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:86:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | @Option(help: ignoreHelpText)
86 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | @Flag(help: ignoreMissingHelpText)
/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: ignoreMissingHelpText)
89 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:92:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | @Flag(help: ignoreWarningsHelpText)
92 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:95:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | @Flag(help: treatWarningsAsErrorsHelpText)
95 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:78: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
76 |
77 | struct XCStrings: HasIgnoreWithShorthand, ParsableCommand {
78 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | commandName: "xcstrings",
80 | 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:132:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
130 |
131 | @Option(help: ignoreHelpText)
132 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | @Flag(help: ignoreMissingHelpText)
/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: ignoreMissingHelpText)
135 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:138:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | @Flag(help: ignoreWarningsHelpText)
138 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
139 |
140 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:141:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
139 |
140 | @Flag(help: treatWarningsAsErrorsHelpText)
141 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
142 |
143 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:124: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
122 |
123 | struct StringCatalog: HasIgnoreWithShorthand, ParsableCommand {
124 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | commandName: "stringcatalog",
126 | abstract: "Validate String Catalog (.xcstrings) 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:171:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
169 |
170 | @Option(help: ignoreHelpText)
171 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
172 |
173 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:174:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
172 |
173 | @Flag(help: ignoreMissingHelpText)
174 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
175 |
176 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:177:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
175 |
176 | @Flag(help: ignoreWarningsHelpText)
177 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
178 |
179 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:180:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
178 |
179 | @Flag(help: treatWarningsAsErrorsHelpText)
180 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
181 |
182 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:163: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
161 |
162 | struct AndroidStrings: HasIgnoreWithShorthand, ParsableCommand {
163 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | commandName: "androidstrings",
165 | 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:223:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
221 |
222 | @Option(help: ignoreHelpText)
223 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
224 |
225 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:226:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
224 |
225 | @Flag(help: ignoreMissingHelpText)
226 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 | @Flag(help: ignoreWarningsHelpText)
/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 | @Flag(help: ignoreWarningsHelpText)
229 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
230 |
231 | @Flag(help: treatWarningsAsErrorsHelpText)
/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: treatWarningsAsErrorsHelpText)
232 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
233 |
234 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:216: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
214 |
215 | struct Stringsdict: HasIgnoreWithShorthand, ParsableCommand {
216 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | abstract: "Directly compare .stringsdict files")
218 |
/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:274:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
272 |
273 | @Option(help: ignoreHelpText)
274 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
275 |
276 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:277:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
275 |
276 | @Flag(help: ignoreMissingHelpText)
277 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:280:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | @Flag(help: ignoreWarningsHelpText)
280 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
281 |
282 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:283:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
281 |
282 | @Flag(help: treatWarningsAsErrorsHelpText)
283 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
284 |
285 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:267: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
265 |
266 | struct Lproj: HasIgnoreWithShorthand, ParsableCommand {
267 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | abstract: "Compare the contents of multiple .lproj files")
269 |
/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:332:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
330 |
331 | @Option(help: ignoreHelpText)
332 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
333 |
334 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:335:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
333 |
334 | @Flag(help: ignoreMissingHelpText)
335 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
336 |
337 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:338:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
336 |
337 | @Flag(help: ignoreWarningsHelpText)
338 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
339 |
340 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:344:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
342 |
343 | @Flag(help: treatWarningsAsErrorsHelpText)
344 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
345 |
346 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:320: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
318 |
319 | struct DiscoverLproj: HasIgnoreWithShorthand, ParsableCommand {
320 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
321 | commandName: "discoverlproj",
322 | 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:418:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
416 |
417 | @Option(help: ignoreHelpText)
418 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
419 |
420 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:421:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
419 |
420 | @Flag(help: ignoreMissingHelpText)
421 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
422 |
423 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:424:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
422 |
423 | @Flag(help: ignoreWarningsHelpText)
424 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
425 |
426 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:430:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
428 |
429 | @Flag(help: treatWarningsAsErrorsHelpText)
430 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
431 |
432 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:410: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
408 |
409 | struct DiscoverValues: HasIgnoreWithShorthand, ParsableCommand {
410 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
411 | commandName: "discovervalues",
412 | 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:506: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
504 |
505 | struct Version: ParsableCommand {
506 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
507 | commandName: "version",
508 | 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 | ///
[80/84] Compiling LocheckCommand FileOrDirectoryArg.swift
[81/84] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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:86:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | @Option(help: ignoreHelpText)
86 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
87 |
88 | @Flag(help: ignoreMissingHelpText)
/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: ignoreMissingHelpText)
89 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:92:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | @Flag(help: ignoreWarningsHelpText)
92 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:95:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | @Flag(help: treatWarningsAsErrorsHelpText)
95 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:78: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
76 |
77 | struct XCStrings: HasIgnoreWithShorthand, ParsableCommand {
78 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | commandName: "xcstrings",
80 | 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:132:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
130 |
131 | @Option(help: ignoreHelpText)
132 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | @Flag(help: ignoreMissingHelpText)
/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: ignoreMissingHelpText)
135 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:138:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | @Flag(help: ignoreWarningsHelpText)
138 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
139 |
140 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:141:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
139 |
140 | @Flag(help: treatWarningsAsErrorsHelpText)
141 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
142 |
143 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:124: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
122 |
123 | struct StringCatalog: HasIgnoreWithShorthand, ParsableCommand {
124 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | commandName: "stringcatalog",
126 | abstract: "Validate String Catalog (.xcstrings) 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:171:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
169 |
170 | @Option(help: ignoreHelpText)
171 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
172 |
173 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:174:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
172 |
173 | @Flag(help: ignoreMissingHelpText)
174 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
175 |
176 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:177:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
175 |
176 | @Flag(help: ignoreWarningsHelpText)
177 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
178 |
179 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:180:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
178 |
179 | @Flag(help: treatWarningsAsErrorsHelpText)
180 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
181 |
182 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:163: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
161 |
162 | struct AndroidStrings: HasIgnoreWithShorthand, ParsableCommand {
163 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | commandName: "androidstrings",
165 | 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:223:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
221 |
222 | @Option(help: ignoreHelpText)
223 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
224 |
225 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:226:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
224 |
225 | @Flag(help: ignoreMissingHelpText)
226 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 | @Flag(help: ignoreWarningsHelpText)
/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 | @Flag(help: ignoreWarningsHelpText)
229 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
230 |
231 | @Flag(help: treatWarningsAsErrorsHelpText)
/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: treatWarningsAsErrorsHelpText)
232 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
233 |
234 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:216: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
214 |
215 | struct Stringsdict: HasIgnoreWithShorthand, ParsableCommand {
216 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | abstract: "Directly compare .stringsdict files")
218 |
/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:274:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
272 |
273 | @Option(help: ignoreHelpText)
274 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
275 |
276 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:277:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
275 |
276 | @Flag(help: ignoreMissingHelpText)
277 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:280:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
278 |
279 | @Flag(help: ignoreWarningsHelpText)
280 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
281 |
282 | @Flag(help: treatWarningsAsErrorsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:283:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
281 |
282 | @Flag(help: treatWarningsAsErrorsHelpText)
283 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
284 |
285 | func validate() throws {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:267: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
265 |
266 | struct Lproj: HasIgnoreWithShorthand, ParsableCommand {
267 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | abstract: "Compare the contents of multiple .lproj files")
269 |
/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:332:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
330 |
331 | @Option(help: ignoreHelpText)
332 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
333 |
334 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:335:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
333 |
334 | @Flag(help: ignoreMissingHelpText)
335 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
336 |
337 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:338:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
336 |
337 | @Flag(help: ignoreWarningsHelpText)
338 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
339 |
340 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:344:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
342 |
343 | @Flag(help: treatWarningsAsErrorsHelpText)
344 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
345 |
346 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:320: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
318 |
319 | struct DiscoverLproj: HasIgnoreWithShorthand, ParsableCommand {
320 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
321 | commandName: "discoverlproj",
322 | 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:418:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
416 |
417 | @Option(help: ignoreHelpText)
418 | fileprivate var ignore = [String]()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
419 |
420 | @Flag(help: ignoreMissingHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:421:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
419 |
420 | @Flag(help: ignoreMissingHelpText)
421 | fileprivate var ignoreMissing = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
422 |
423 | @Flag(help: ignoreWarningsHelpText)
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:424:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
422 |
423 | @Flag(help: ignoreWarningsHelpText)
424 | fileprivate var ignoreWarnings = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
425 |
426 | @Option(help: "Ignore one or more languages using the language code (like 'en')")
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:430:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
428 |
429 | @Flag(help: treatWarningsAsErrorsHelpText)
430 | fileprivate var treatWarningsAsErrors = false
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
431 |
432 | private func isIgnored(language: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/LocheckCommand/main.swift:410: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
408 |
409 | struct DiscoverValues: HasIgnoreWithShorthand, ParsableCommand {
410 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
411 | commandName: "discovervalues",
412 | 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:506: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
504 |
505 | struct Version: ParsableCommand {
506 | 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
507 | commandName: "version",
508 | 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 | ///
[81/84] Write Objects.LinkFileList
[82/84] Linking locheck
[83/84] Applying locheck
Build complete! (14.65s)
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",
"StringCatalogTests.swift",
"StringCatalogValidatorTests.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/StringCatalog.swift",
"Types/StringsdictEntry.swift",
"Types/StringsdictFile.swift",
"Types/StringsdictRule.swift",
"Validators/parseAndValidateAndroidStrings.swift",
"Validators/parseAndValidateStringCatalog.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",
"StringCatalogCommandTests.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.