Build Information
Successful build of locheck, reference main (258bcb
), with Swift 6.0 for Linux on 3 Nov 2024 05:37:37 UTC.
Swift 6 data race errors: 33
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Asana/locheck.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/yahoojapan/SwiftyXMLParser
[1/764] Fetching swiftyxmlparser
Fetched https://github.com/yahoojapan/SwiftyXMLParser from cache (0.20s)
Fetching https://github.com/johnsundell/Files.git
Fetching https://github.com/apple/swift-argument-parser
[1/1231] Fetching files
[1232/13584] Fetching files, swift-argument-parser
Fetched https://github.com/johnsundell/Files.git from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Computing version for https://github.com/johnsundell/Files.git
Computed https://github.com/johnsundell/Files.git at 4.2.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.43s)
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)
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/53] Compiling ArgumentParser Name.swift
[8/53] Compiling ArgumentParser Parsed.swift
[9/53] Compiling ArgumentParser ParsedValues.swift
[10/53] Compiling ArgumentParser ParserError.swift
[11/57] Compiling ArgumentParser Option.swift
[12/57] Compiling ArgumentParser OptionGroup.swift
[13/57] Compiling ArgumentParser CommandConfiguration.swift
[14/57] Compiling ArgumentParser EnumerableFlag.swift
[15/57] Compiling ArgumentParser ExpressibleByArgument.swift
[16/57] Compiling ArgumentParser ParsableArguments.swift
[17/57] Compiling ArgumentParser ParsableArgumentsValidation.swift
[18/57] Compiling ArgumentParser ParsableCommand.swift
[19/57] Compiling ArgumentParser ArgumentDecoder.swift
[20/57] Compiling ArgumentParser ArgumentHelp.swift
[21/57] Compiling ArgumentParser CompletionKind.swift
[22/57] Compiling ArgumentParser Errors.swift
[23/57] Compiling ArgumentParser Flag.swift
[24/57] Compiling ArgumentParser NameSpecification.swift
[25/57] Emitting module ArgumentParser
[26/57] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/57] Compiling ArgumentParser CompletionsGenerator.swift
[28/57] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/57] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/57] Compiling ArgumentParser Argument.swift
[31/57] Compiling SwiftyXMLParser XML.swift
[32/57] Emitting module Files
[33/57] Compiling Files Files.swift
[34/58] Emitting module SwiftyXMLParser
[35/58] Compiling ArgumentParser ArgumentDefinition.swift
[36/58] Compiling ArgumentParser ArgumentSet.swift
[37/58] Compiling ArgumentParser CommandParser.swift
[38/58] Compiling SwiftyXMLParser Element.swift
[39/58] Compiling ArgumentParser InputOrigin.swift
[40/58] Compiling ArgumentParser SplitArguments.swift
[41/58] Compiling ArgumentParser HelpCommand.swift
[42/58] Compiling ArgumentParser HelpGenerator.swift
[43/58] Compiling ArgumentParser MessageInfo.swift
[44/58] Compiling SwiftyXMLParser Error.swift
[45/58] Compiling SwiftyXMLParser Accessor.swift
[46/58] Compiling SwiftyXMLParser Parser.swift
[48/59] Wrapping AST for Files for debugging
[49/59] Wrapping AST for SwiftyXMLParser for debugging
[51/81] Compiling ArgumentParser UsageGenerator.swift
[52/81] Compiling ArgumentParser SequenceExtensions.swift
[53/81] Compiling ArgumentParser StringExtensions.swift
[54/81] Compiling ArgumentParser Tree.swift
[55/82] Compiling LocheckLogic Expressions.swift
[56/82] Compiling LocheckLogic File+locheck.swift
[57/82] Compiling LocheckLogic NSRegularExpression+locheck.swift
[58/85] Wrapping AST for ArgumentParser for debugging
[60/85] Emitting module LocheckLogic
/host/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 {
[61/85] Compiling LocheckLogic validateLproj.swift
[62/85] Compiling LocheckLogic parseXML.swift
[63/85] Compiling LocheckLogic readPlistDict.swift
[64/85] Compiling LocheckLogic parseAndValidateStringsdict.swift
[65/85] Compiling LocheckLogic parseAndValidateXCStrings.swift
[66/85] Compiling LocheckLogic validateKeyPresence.swift
[67/85] Compiling LocheckLogic LocalizedStringPair.swift
[68/85] Compiling LocheckLogic LprojFiles.swift
[69/85] Compiling LocheckLogic StringsdictEntry.swift
[70/85] Compiling LocheckLogic FormatArgument.swift
[71/85] Compiling LocheckLogic FormatString.swift
[72/85] Compiling LocheckLogic LexedStringsdictString.swift
[73/85] Compiling LocheckLogic NSTextCheckingResult+locheck.swift
[74/85] Compiling LocheckLogic Sequence+locheck.swift
[75/85] Compiling LocheckLogic String+locheck.swift
[76/85] Compiling LocheckLogic StringsdictFile.swift
[77/85] Compiling LocheckLogic StringsdictRule.swift
[78/85] Compiling LocheckLogic parseAndValidateAndroidStrings.swift
[79/85] Compiling LocheckLogic ProblemReporter.swift
/host/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 {
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:20:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | private struct StderrOutputStream: TextOutputStream {
19 | mutating func write(_ string: String) {
20 | fputs(string, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[80/85] Compiling LocheckLogic Problems.swift
/host/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 {
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:20:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | private struct StderrOutputStream: TextOutputStream {
19 | mutating func write(_ string: String) {
20 | fputs(string, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[81/85] Compiling LocheckLogic AndroidStringsFile.swift
/host/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 {
/host/spi-builder-workspace/Sources/LocheckLogic/ProblemReporter.swift:20:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | private struct StderrOutputStream: TextOutputStream {
19 | mutating func write(_ string: String) {
20 | fputs(string, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[82/86] Wrapping AST for LocheckLogic for debugging
[84/89] Emitting module LocheckCommand
/host/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
/host/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 | ///
/host/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
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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")
/host/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 | ///
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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")
/host/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 | ///
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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 |
/host/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 | ///
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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 |
/host/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 | ///
/host/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)
/host/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)
/host/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')")
/host/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 {
/host/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")
/host/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 | ///
/host/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)
/host/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)
/host/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')")
/host/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 {
/host/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")
/host/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 | ///
/host/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")
/host/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 | ///
[85/89] Compiling LocheckCommand FileOrDirectoryArg.swift
[86/89] Compiling LocheckCommand main.swift
/host/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
/host/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 | ///
/host/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
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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")
/host/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 | ///
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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")
/host/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 | ///
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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 |
/host/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 | ///
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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 |
/host/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 | ///
/host/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)
/host/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)
/host/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')")
/host/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 {
/host/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")
/host/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 | ///
/host/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)
/host/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)
/host/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')")
/host/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 {
/host/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")
/host/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 | ///
/host/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")
/host/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 | ///
[87/90] Wrapping AST for LocheckCommand for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking locheck
Build complete! (18.67s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.