Build Information
Failed to build xcparse, reference 2.3.2 (fdba6f
), with Swift 6.0 for Linux on 2 Dec 2024 08:23:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
[140/197] Compiling XCParseCore ActivityLogAnalyzerStep.swift
[141/197] Compiling XCParseCore ActivityLogAnalyzerWarningMessage.swift
[142/197] Compiling XCParseCore ActivityLogCommandInvocationSection.swift
[143/197] Compiling XCParseCore ActivityLogMajorSection.swift
[144/197] Compiling XCParseCore Reference.swift
[145/197] Compiling XCParseCore ResultIssueSummaries.swift
[146/197] Compiling XCParseCore ResultMetrics.swift
[147/197] Compiling XCParseCore SortedKeyValueArray.swift
[148/197] Compiling XCParseCore SortedKeyValueArrayPair.swift
[149/197] Compiling XCParseCore SourceCodeContext.swift
[150/197] Compiling XCParseCore SourceCodeFrame.swift
[151/197] Compiling XCParseCore SourceCodeLocation.swift
[152/205] Compiling XCParseCore ConsoleLogItem.swift
[153/205] Compiling XCParseCore ConsoleLogSection.swift
[154/205] Compiling XCParseCore DocumentLocation.swift
[155/205] Compiling XCParseCore EntityIdentifier.swift
[156/205] Compiling XCParseCore String+ASCII.swift
[157/205] Compiling XCParseCore URL+Directory.swift
[158/205] Compiling XCParseCore IssueSummary.swift
[159/205] Compiling XCParseCore ObjectID.swift
[160/205] Compiling XCParseCore ActivityLogMessage.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[161/205] Compiling XCParseCore ActivityLogMessageAnnotation.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[162/205] Compiling XCParseCore ActivityLogSection.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[163/205] Compiling XCParseCore ActivityLogTargetBuildSection.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[164/205] Compiling XCParseCore ActivityLogUnitTestSection.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[165/205] Compiling XCParseCore ArchiveInfo.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[166/205] Compiling XCParseCore CodeCoverageInfo.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[167/205] Compiling XCParseCore Console.swift
/host/spi-builder-workspace/Sources/XCParseCore/Console.swift:36:38: 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
34 | }
35 | case .error:
36 | fputs("Error: \(message)\n", 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
37 | }
38 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[168/205] Compiling XCParseCore ActionTestPlanRunSummary.swift
[169/205] Compiling XCParseCore ActionTestRepetitionPolicySummary.swift
[170/205] Compiling XCParseCore ActionTestSummary.swift
[171/205] Compiling XCParseCore ActionTestSummaryGroup.swift
[172/205] Compiling XCParseCore ActionTestSummaryIdentifiableObject.swift
[173/205] Compiling XCParseCore ActionTestableSummary.swift
[174/205] Compiling XCParseCore ActionsInvocationMetadata.swift
[175/205] Compiling XCParseCore ActionsInvocationRecord.swift
[176/205] Compiling XCParseCore ActionAbstractTestSummary.swift
[177/205] Compiling XCParseCore ActionDeviceRecord.swift
[178/205] Compiling XCParseCore ActionPlatformRecord.swift
[179/205] Compiling XCParseCore ActionRecord.swift
[180/205] Compiling XCParseCore ActionResult.swift
[181/205] Compiling XCParseCore ActionRunDestinationRecord.swift
[182/205] Compiling XCParseCore ActionSDKRecord.swift
[183/205] Compiling XCParseCore ActionTestActivitySummary.swift
[184/205] Compiling XCParseCore ActionTestAttachment.swift
[185/205] Compiling XCParseCore ActionTestConfiguration.swift
[186/205] Compiling XCParseCore ActionTestExpectedFailure.swift
[187/205] Compiling XCParseCore ActionTestFailureSummary.swift
[188/205] Compiling XCParseCore ActionTestMetadata.swift
[189/205] Compiling XCParseCore ActionTestNoticeSummary.swift
[190/205] Compiling XCParseCore ActionTestPerformanceMetricSummary.swift
[191/205] Compiling XCParseCore ActionTestPlanRunSummaries.swift
[192/205] Emitting module XCParseCore
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[193/205] Compiling XCParseCore SourceCodeSymbolInfo.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[194/205] Compiling XCParseCore TestAssociatedError.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[195/205] Compiling XCParseCore TestFailureIssueSummary.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[196/205] Compiling XCParseCore TypeDefinition.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[197/205] Compiling XCParseCore Version+XCPTooling.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[198/205] Compiling XCParseCore XCPResultDecoding.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[199/205] Compiling XCParseCore XCResult.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[200/205] Compiling XCParseCore XCResultToolCommand.swift
/host/spi-builder-workspace/Sources/XCParseCore/Version+XCPTooling.swift:38:47: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
36 | xcresulttoolVersion = Version(xcresulttoolVersionInt, 0, 0)
37 | } else {
38 | xcresulttoolVersion = Version(string: xcresulttoolVersionString)
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
39 | }
40 |
/host/spi-builder-workspace/Sources/XCParseCore/XCPResultDecoding.swift:176:16: warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
174 | case TypeDefinition
175 |
176 | static var discriminator: Discriminator = .type
| |- warning: static property 'discriminator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'discriminator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'discriminator' 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 |
178 | func getType() -> AnyObject.Type {
[201/206] Wrapping AST for XCParseCore for debugging
[203/216] Compiling Converter DeviceModel.swift
[204/217] Compiling Converter AppSizeParser.swift
[205/217] Compiling Converter VariantParser.swift
[206/217] Compiling Converter VariantDescriptorParser.swift
[207/217] Compiling Converter ReportConverter.swift
[208/217] Compiling Converter VariantModel.swift
[209/217] Compiling Converter ResultFactory.swift
[210/217] Compiling Converter AppSizeModel.swift
[211/217] Compiling Converter FileController.swift
[212/217] Compiling Converter MemorySize.swift
[213/217] Emitting module Converter
[214/218] Wrapping AST for Converter for debugging
[216/229] Compiling xcparse ConverterCommand.swift
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:18:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] appSizeReport outputDirectory"
17 |
18 | var flagVariants: OptionArgument<String>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:20:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:20:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:33:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
31 | }
32 |
33 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
34 | let xcpParser = XCPParser()
35 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:25:34: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 |
25 | flagVariants = subparser.add(option: "--flag-variants", kind: String.self, usage: "Flag variants above the specified size limit [optional, example: \"--flag-variants 10MB\"]")
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
26 | reportPath = subparser.add(positional: "appSizeReport", kind: PathArgument.self,
27 | optional: false, usage: "Path to App Thinning Size Report", completion: .filename)
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:26:71: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
24 |
25 | flagVariants = subparser.add(option: "--flag-variants", kind: String.self, usage: "Flag variants above the specified size limit [optional, example: \"--flag-variants 10MB\"]")
26 | reportPath = subparser.add(positional: "appSizeReport", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
27 | optional: false, usage: "Path to App Thinning Size Report", completion: .filename)
28 | resultPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:28:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
26 | reportPath = subparser.add(positional: "appSizeReport", kind: PathArgument.self,
27 | optional: false, usage: "Path to App Thinning Size Report", completion: .filename)
28 | resultPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
29 | optional: true, usage: "Folder to export results to", completion: .filename)
30 |
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
[217/229] Compiling xcparse GitHubLatestReleaseResponse.swift
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:18:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] appSizeReport outputDirectory"
17 |
18 | var flagVariants: OptionArgument<String>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:20:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:20:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:33:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
31 | }
32 |
33 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
34 | let xcpParser = XCPParser()
35 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:25:34: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 |
25 | flagVariants = subparser.add(option: "--flag-variants", kind: String.self, usage: "Flag variants above the specified size limit [optional, example: \"--flag-variants 10MB\"]")
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
26 | reportPath = subparser.add(positional: "appSizeReport", kind: PathArgument.self,
27 | optional: false, usage: "Path to App Thinning Size Report", completion: .filename)
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:26:71: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
24 |
25 | flagVariants = subparser.add(option: "--flag-variants", kind: String.self, usage: "Flag variants above the specified size limit [optional, example: \"--flag-variants 10MB\"]")
26 | reportPath = subparser.add(positional: "appSizeReport", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
27 | optional: false, usage: "Path to App Thinning Size Report", completion: .filename)
28 | resultPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:28:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
26 | reportPath = subparser.add(positional: "appSizeReport", kind: PathArgument.self,
27 | optional: false, usage: "Path to App Thinning Size Report", completion: .filename)
28 | resultPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
29 | optional: true, usage: "Folder to export results to", completion: .filename)
30 |
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
[218/230] Compiling xcparse ScreenshotsCommand.swift
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:22:37: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByModel: OptionArgument<Bool>
24 | var divideByOS: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:23:24: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
23 | var divideByModel: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByOS: OptionArgument<Bool>
25 | var divideByTestRun: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:24:21: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
23 | var divideByModel: OptionArgument<Bool>
24 | var divideByOS: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestRun: OptionArgument<Bool>
26 | var divideByTestPlanConfig: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:25:26: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByModel: OptionArgument<Bool>
24 | var divideByOS: OptionArgument<Bool>
25 | var divideByTestRun: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByTestPlanConfig: OptionArgument<Bool>
27 | var divideByLanguage: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:26:33: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByOS: OptionArgument<Bool>
25 | var divideByTestRun: OptionArgument<Bool>
26 | var divideByTestPlanConfig: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
27 | var divideByLanguage: OptionArgument<Bool>
28 | var divideByRegion: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:27:27: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestRun: OptionArgument<Bool>
26 | var divideByTestPlanConfig: OptionArgument<Bool>
27 | var divideByLanguage: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByRegion: OptionArgument<Bool>
29 | var divideByTest: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:28:25: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByTestPlanConfig: OptionArgument<Bool>
27 | var divideByLanguage: OptionArgument<Bool>
28 | var divideByRegion: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 | var divideByTest: OptionArgument<Bool>
30 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:29:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
27 | var divideByLanguage: OptionArgument<Bool>
28 | var divideByRegion: OptionArgument<Bool>
29 | var divideByTest: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
30 |
31 | var testStatusWhitelist: OptionArgument<[String]>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:31:30: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 | var divideByTest: OptionArgument<Bool>
30 |
31 | var testStatusWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
32 | var activityTypeWhitelist: OptionArgument<[String]>
33 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:32:32: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
30 |
31 | var testStatusWhitelist: OptionArgument<[String]>
32 | var activityTypeWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
33 |
34 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:34:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
32 | var activityTypeWhitelist: OptionArgument<[String]>
33 |
34 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
35 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
36 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:57:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
55 | }
56 |
57 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
58 | guard let xcresultPathArgument = arguments.get(path) else {
59 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:36:60: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
34 | init(parser: ArgumentParser) {
35 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
36 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
37 | optional: false, usage: "Path to the xcresult file", completion: .filename)
38 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:38:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
36 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
37 | optional: false, usage: "Path to the xcresult file", completion: .filename)
38 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
39 | optional: true, usage: "Folder to export results to", completion: .filename)
40 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:40:29: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
38 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
39 | optional: true, usage: "Folder to export results to", completion: .filename)
40 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
41 |
42 | addTestScreenshotDirectory = subparser.add(option: "--legacy", shortName: nil, kind: Bool.self, usage: "Create \"testScreenshots\" directory in outputDirectory & put screenshots in there")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:42:48: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
40 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
41 |
42 | addTestScreenshotDirectory = subparser.add(option: "--legacy", shortName: nil, kind: Bool.self, usage: "Create \"testScreenshots\" directory in outputDirectory & put screenshots in there")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
43 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide screenshots by model")
44 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide screenshots by OS")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:43:35: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
41 |
42 | addTestScreenshotDirectory = subparser.add(option: "--legacy", shortName: nil, kind: Bool.self, usage: "Create \"testScreenshots\" directory in outputDirectory & put screenshots in there")
43 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide screenshots by model")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
44 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide screenshots by OS")
45 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:44:32: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
42 | addTestScreenshotDirectory = subparser.add(option: "--legacy", shortName: nil, kind: Bool.self, usage: "Create \"testScreenshots\" directory in outputDirectory & put screenshots in there")
43 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide screenshots by model")
44 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide screenshots by OS")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
45 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
46 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:45:37: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
43 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide screenshots by model")
44 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide screenshots by OS")
45 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
46 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
47 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:46:44: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
44 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide screenshots by OS")
45 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
46 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
47 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
48 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:47:38: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
45 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
46 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
47 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
48 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
49 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide screenshots by test")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:48:36: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
46 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
47 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
48 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
49 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide screenshots by test")
50 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:49:34: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
47 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
48 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
49 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide screenshots by test")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
50 |
51 | testStatusWhitelist = subparser.add(option: "--test-status", shortName: nil, kind: [String].self, strategy: .upToNextOption,
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:51:41: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
49 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide screenshots by test")
50 |
51 | testStatusWhitelist = subparser.add(option: "--test-status", shortName: nil, kind: [String].self, strategy: .upToNextOption,
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
52 | usage: "Whitelist of acceptable test statuses for screenshots [optional, example: \"--test-status Success Failure\"]")
53 | activityTypeWhitelist = subparser.add(option: "--activity-type", shortName: nil, kind: [String].self, strategy: .upToNextOption,
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:53:43: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
51 | testStatusWhitelist = subparser.add(option: "--test-status", shortName: nil, kind: [String].self, strategy: .upToNextOption,
52 | usage: "Whitelist of acceptable test statuses for screenshots [optional, example: \"--test-status Success Failure\"]")
53 | activityTypeWhitelist = subparser.add(option: "--activity-type", shortName: nil, kind: [String].self, strategy: .upToNextOption,
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
54 | usage: "Whitelist of acceptable activity types for screenshots. If value does not specify domain, \"com.apple.dt.xctest.activity-type.\" is assumed and prefixed to the value [optional, example: \"--activity-type userCreated attachmentContainer com.apple.dt.xctest.activity-type.testAssertionFailure\"]")
55 | }
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:92:56: error: cannot find 'UTTypeConformsTo' in scope
90 | divideByTest: arguments.get(self.divideByTest) ?? false,
91 | attachmentFilter: {
92 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find 'UTTypeConformsTo' in scope
93 | })
94 | if let allowedTestStatuses = arguments.get(self.testStatusWhitelist) {
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:92:101: error: cannot find type 'CFString' in scope
90 | divideByTest: arguments.get(self.divideByTest) ?? false,
91 | attachmentFilter: {
92 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find type 'CFString' in scope
93 | })
94 | if let allowedTestStatuses = arguments.get(self.testStatusWhitelist) {
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:92:129: error: cannot find type 'CFString' in scope
90 | divideByTest: arguments.get(self.divideByTest) ?? false,
91 | attachmentFilter: {
92 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find type 'CFString' in scope
93 | })
94 | if let allowedTestStatuses = arguments.get(self.testStatusWhitelist) {
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:95:41: error: cannot infer type of closure parameter '$0' without a type annotation
93 | })
94 | if let allowedTestStatuses = arguments.get(self.testStatusWhitelist) {
95 | options.testSummaryFilter = { allowedTestStatuses.contains($0.testStatus) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
96 | }
97 | if let allowedActivityTypes = arguments.get(self.activityTypeWhitelist) {
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:106:45: error: cannot infer type of closure parameter '$0' without a type annotation
104 | }
105 |
106 | options.activitySummaryFilter = { additionalActivityTypes.contains($0.activityType) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
107 | }
108 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:67:42: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | if let outputPathArgument = arguments.get(self.outputPath) {
66 | outputPath = outputPathArgument.path
67 | } else if let workingDirectory = localFileSystem.currentWorkingDirectory {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | outputPath = workingDirectory
69 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1133 |
1134 | extension FileSystem {
[219/230] Compiling xcparse VersionCommand.swift
/host/spi-builder-workspace/Sources/xcparse/VersionCommand.swift:18:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
16 | let usage = ""
17 |
18 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
19 | _ = parser.add(subparser: command, usage: usage, overview: overview)
20 | }
/host/spi-builder-workspace/Sources/xcparse/VersionCommand.swift:22:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | }
21 |
22 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let xcpParser = XCPParser()
24 | xcpParser.printVersion()
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
[220/230] Compiling xcparse LogsCommand.swift
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:31:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
29 | }
30 |
31 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
32 | guard let xcresultPathArgument = arguments.get(path) else {
33 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:24:60: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
22 | init(parser: ArgumentParser) {
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
25 | optional: false, usage: "Path to the xcresult file", completion: .filename)
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:26:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
25 | optional: false, usage: "Path to the xcresult file", completion: .filename)
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
27 | optional: true, usage: "Folder to export results to", completion: .filename)
28 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:28:29: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
27 | optional: true, usage: "Folder to export results to", completion: .filename)
28 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
29 | }
30 |
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:41:42: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | if let outputPathArgument = arguments.get(self.outputPath) {
40 | outputPath = outputPathArgument.path
41 | } else if let workingDirectory = localFileSystem.currentWorkingDirectory {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | outputPath = workingDirectory
43 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1133 |
1134 | extension FileSystem {
[221/230] Compiling xcparse XCPParser.swift
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:285:69: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
283 |
284 | let header = (displayName != "") ? "Exporting \"\(displayName)\" Attachments" : "Exporting Attachments"
285 | let progressBar = PercentProgressAnimation(stream: TSCBasic.stdoutStream, header: header)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
286 | progressBar.update(step: 0, total: attachments.count, text: "")
287 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
784 | filePointer: TSCLibc.stdout,
785 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:438:30: error: cannot find 'URLRequest' in scope
436 | let latestReleaseURL = URL(string: "https://api.github.com/repos/ChargePoint/xcparse/releases/latest")!
437 |
438 | var releaseRequest = URLRequest(url: latestReleaseURL)
| `- error: cannot find 'URLRequest' in scope
439 | releaseRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
440 |
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:441:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
439 | releaseRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
440 |
441 | let urlSession = URLSession(configuration: .ephemeral)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
442 | let task = urlSession.dataTask(with: releaseRequest) { (data, response, error) in
443 | if error != nil || data == nil {
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:441:47: error: cannot infer contextual base in reference to member 'ephemeral'
439 | releaseRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
440 |
441 | let urlSession = URLSession(configuration: .ephemeral)
| `- error: cannot infer contextual base in reference to member 'ephemeral'
442 | let task = urlSession.dataTask(with: releaseRequest) { (data, response, error) in
443 | if error != nil || data == nil {
[222/230] Emitting module xcparse
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var divideByModel: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:22:24: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | var divideByModel: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:23:21: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var divideByModel: OptionArgument<Bool>
23 | var divideByOS: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:24:26: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
22 | var divideByModel: OptionArgument<Bool>
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:25:33: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:26:27: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
27 | var divideByRegion: OptionArgument<Bool>
28 | var divideByTest: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:27:25: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByTest: OptionArgument<Bool>
29 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:28:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
28 | var divideByTest: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 |
30 | var utiWhitelist: OptionArgument<[String]>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:30:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByTest: OptionArgument<Bool>
29 |
30 | var utiWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
31 | var activityTypeWhitelist: OptionArgument<[String]>
32 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:31:32: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 |
30 | var utiWhitelist: OptionArgument<[String]>
31 | var activityTypeWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
32 |
33 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:33:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
31 | var activityTypeWhitelist: OptionArgument<[String]>
32 |
33 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
34 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
35 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:55:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
53 | }
54 |
55 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
56 | guard let xcresultPathArgument = arguments.get(path) else {
57 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:31:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
29 | }
30 |
31 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
32 | guard let xcresultPathArgument = arguments.get(path) else {
33 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/Command.swift:19:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
17 | var usage: String { get }
18 |
19 | init(parser: ArgumentParser)
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | func run(with arguments: ArgumentParser.Result) throws
21 | }
/host/spi-builder-workspace/Sources/xcparse/Command.swift:20:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
18 |
19 | init(parser: ArgumentParser)
20 | func run(with arguments: ArgumentParser.Result) throws
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
21 | }
22 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:16:25: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
14 | // https://www.enekoalonso.com/articles/handling-commands-with-swift-package-manager
15 | struct CommandRegistry {
16 | private let parser: ArgumentParser
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:19:36: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | private var legacyXcov: OptionArgument<[PathArgument]>
21 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:19:52: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | private var legacyXcov: OptionArgument<[PathArgument]>
21 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:20:29: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
20 | private var legacyXcov: OptionArgument<[PathArgument]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:20:45: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
20 | private var legacyXcov: OptionArgument<[PathArgument]>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:48:100: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
46 | }
47 |
48 | private func parse(_ arguments: [String] = Array(CommandLine.arguments.dropFirst())) throws -> ArgumentParser.Result {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
49 | return try parser.parse(arguments)
50 | }
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:52:60: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
50 | }
51 |
52 | private func processLegacyScreenshotCommand(arguments: ArgumentParser.Result) -> Bool {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
53 | guard let legacyScreenshotPaths = arguments.get(self.legacyScreenshots) else {
54 | return false
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:85:62: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
83 | }
84 |
85 | private func processLegacyCodeCoverageCommand(arguments: ArgumentParser.Result) -> Bool {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
86 | guard let legacyCodeCovPaths = arguments.get(self.legacyXcov) else {
87 | return false
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:105:37: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
103 | }
104 |
105 | private func process(arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
106 | // Check to see if it's a legacy command
107 | if self.processLegacyScreenshotCommand(arguments: arguments) == true {
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:18:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] appSizeReport outputDirectory"
17 |
18 | var flagVariants: OptionArgument<String>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:20:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:20:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
18 | var flagVariants: OptionArgument<String>
19 | var reportPath: PositionalArgument<PathArgument>
20 | var resultPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var resultPath: PositionalArgument<PathArgument>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 |
/host/spi-builder-workspace/Sources/xcparse/ConverterCommand.swift:33:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
31 | }
32 |
33 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
34 | let xcpParser = XCPParser()
35 |
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/LogsCommand.swift:31:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
29 | }
30 |
31 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
32 | guard let xcresultPathArgument = arguments.get(path) else {
33 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:22:37: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByModel: OptionArgument<Bool>
24 | var divideByOS: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:23:24: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
23 | var divideByModel: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByOS: OptionArgument<Bool>
25 | var divideByTestRun: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:24:21: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
22 | var addTestScreenshotDirectory: OptionArgument<Bool>
23 | var divideByModel: OptionArgument<Bool>
24 | var divideByOS: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestRun: OptionArgument<Bool>
26 | var divideByTestPlanConfig: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:25:26: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByModel: OptionArgument<Bool>
24 | var divideByOS: OptionArgument<Bool>
25 | var divideByTestRun: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByTestPlanConfig: OptionArgument<Bool>
27 | var divideByLanguage: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:26:33: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByOS: OptionArgument<Bool>
25 | var divideByTestRun: OptionArgument<Bool>
26 | var divideByTestPlanConfig: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
27 | var divideByLanguage: OptionArgument<Bool>
28 | var divideByRegion: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:27:27: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestRun: OptionArgument<Bool>
26 | var divideByTestPlanConfig: OptionArgument<Bool>
27 | var divideByLanguage: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByRegion: OptionArgument<Bool>
29 | var divideByTest: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:28:25: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByTestPlanConfig: OptionArgument<Bool>
27 | var divideByLanguage: OptionArgument<Bool>
28 | var divideByRegion: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 | var divideByTest: OptionArgument<Bool>
30 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:29:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
27 | var divideByLanguage: OptionArgument<Bool>
28 | var divideByRegion: OptionArgument<Bool>
29 | var divideByTest: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
30 |
31 | var testStatusWhitelist: OptionArgument<[String]>
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:31:30: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 | var divideByTest: OptionArgument<Bool>
30 |
31 | var testStatusWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
32 | var activityTypeWhitelist: OptionArgument<[String]>
33 |
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:32:32: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
30 |
31 | var testStatusWhitelist: OptionArgument<[String]>
32 | var activityTypeWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
33 |
34 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:34:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
32 | var activityTypeWhitelist: OptionArgument<[String]>
33 |
34 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
35 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
36 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/ScreenshotsCommand.swift:57:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
55 | }
56 |
57 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
58 | guard let xcresultPathArgument = arguments.get(path) else {
59 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/VersionCommand.swift:18:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
16 | let usage = ""
17 |
18 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
19 | _ = parser.add(subparser: command, usage: usage, overview: overview)
20 | }
/host/spi-builder-workspace/Sources/xcparse/VersionCommand.swift:22:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | }
21 |
22 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let xcpParser = XCPParser()
24 | xcpParser.printVersion()
[223/230] Compiling xcparse AttachmentsCommand.swift
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var divideByModel: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:22:24: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | var divideByModel: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:23:21: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var divideByModel: OptionArgument<Bool>
23 | var divideByOS: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:24:26: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
22 | var divideByModel: OptionArgument<Bool>
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:25:33: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:26:27: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
27 | var divideByRegion: OptionArgument<Bool>
28 | var divideByTest: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:27:25: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByTest: OptionArgument<Bool>
29 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:28:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
28 | var divideByTest: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 |
30 | var utiWhitelist: OptionArgument<[String]>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:30:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByTest: OptionArgument<Bool>
29 |
30 | var utiWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
31 | var activityTypeWhitelist: OptionArgument<[String]>
32 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:31:32: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 |
30 | var utiWhitelist: OptionArgument<[String]>
31 | var activityTypeWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
32 |
33 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:33:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
31 | var activityTypeWhitelist: OptionArgument<[String]>
32 |
33 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
34 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
35 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:55:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
53 | }
54 |
55 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
56 | guard let xcresultPathArgument = arguments.get(path) else {
57 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:35:60: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
33 | init(parser: ArgumentParser) {
34 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
35 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
36 | optional: false, usage: "Path to the xcresult file", completion: .filename)
37 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:37:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
35 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
36 | optional: false, usage: "Path to the xcresult file", completion: .filename)
37 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
38 | optional: true, usage: "Folder to export results to", completion: .filename)
39 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:39:29: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
37 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
38 | optional: true, usage: "Folder to export results to", completion: .filename)
39 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
40 |
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:41:35: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
39 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
40 |
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:42:32: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
40 |
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:43:37: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:44:44: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:45:38: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:46:36: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
48 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:47:34: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
48 |
49 | utiWhitelist = subparser.add(option: "--uti", shortName: nil, kind: [String].self, strategy: .upToNextOption,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:49:34: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
48 |
49 | utiWhitelist = subparser.add(option: "--uti", shortName: nil, kind: [String].self, strategy: .upToNextOption,
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
50 | usage: "Whitelist of uniform type identifiers (UTI) attachments must conform to [optional, example: \"--uti public.image public.plain-text\"]")
51 | activityTypeWhitelist = subparser.add(option: "--activity-type", shortName: nil, kind: [String].self, strategy: .upToNextOption,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:51:43: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
49 | utiWhitelist = subparser.add(option: "--uti", shortName: nil, kind: [String].self, strategy: .upToNextOption,
50 | usage: "Whitelist of uniform type identifiers (UTI) attachments must conform to [optional, example: \"--uti public.image public.plain-text\"]")
51 | activityTypeWhitelist = subparser.add(option: "--activity-type", shortName: nil, kind: [String].self, strategy: .upToNextOption,
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
52 | usage: "Whitelist of acceptable activity types for attachments. If value does not specify domain, \"com.apple.dt.xctest.activity-type.\" is assumed and prefixed to the value [optional, example: \"--activity-type userCreated attachmentContainer com.apple.dt.xctest.activity-type.testAssertionFailure\"]")
53 | }
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:93:24: error: cannot find 'UTTypeConformsTo' in scope
91 | let attachmentUTI = $0.uniformTypeIdentifier as CFString
92 | for allowedUTI in allowedUTIsToExport {
93 | if UTTypeConformsTo(attachmentUTI, allowedUTI as CFString) {
| `- error: cannot find 'UTTypeConformsTo' in scope
94 | return true
95 | }
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:91:65: error: cannot find type 'CFString' in scope
89 | if let allowedUTIsToExport = arguments.get(self.utiWhitelist) {
90 | options.attachmentFilter = {
91 | let attachmentUTI = $0.uniformTypeIdentifier as CFString
| `- error: cannot find type 'CFString' in scope
92 | for allowedUTI in allowedUTIsToExport {
93 | if UTTypeConformsTo(attachmentUTI, allowedUTI as CFString) {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:93:70: error: cannot find type 'CFString' in scope
91 | let attachmentUTI = $0.uniformTypeIdentifier as CFString
92 | for allowedUTI in allowedUTIsToExport {
93 | if UTTypeConformsTo(attachmentUTI, allowedUTI as CFString) {
| `- error: cannot find type 'CFString' in scope
94 | return true
95 | }
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:65:42: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | if let outputPathArgument = arguments.get(self.outputPath) {
64 | outputPath = outputPathArgument.path
65 | } else if let workingDirectory = localFileSystem.currentWorkingDirectory {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | outputPath = workingDirectory
67 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1133 |
1134 | extension FileSystem {
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:31:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
29 | }
30 |
31 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
32 | guard let xcresultPathArgument = arguments.get(path) else {
33 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:24:60: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
22 | init(parser: ArgumentParser) {
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
25 | optional: false, usage: "Path to the xcresult file", completion: .filename)
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:26:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
25 | optional: false, usage: "Path to the xcresult file", completion: .filename)
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
27 | optional: true, usage: "Folder to export results to", completion: .filename)
28 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:28:29: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
27 | optional: true, usage: "Folder to export results to", completion: .filename)
28 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
29 | }
30 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:41:42: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | if let outputPathArgument = arguments.get(self.outputPath) {
40 | outputPath = outputPathArgument.path
41 | } else if let workingDirectory = localFileSystem.currentWorkingDirectory {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | outputPath = workingDirectory
43 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1133 |
1134 | extension FileSystem {
[224/230] Compiling xcparse CodeCoverageCommand.swift
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var divideByModel: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:22:24: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | var divideByModel: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:23:21: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | var divideByModel: OptionArgument<Bool>
23 | var divideByOS: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:24:26: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
22 | var divideByModel: OptionArgument<Bool>
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:25:33: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
23 | var divideByOS: OptionArgument<Bool>
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:26:27: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
24 | var divideByTestRun: OptionArgument<Bool>
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
27 | var divideByRegion: OptionArgument<Bool>
28 | var divideByTest: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:27:25: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
25 | var divideByTestPlanConfig: OptionArgument<Bool>
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByTest: OptionArgument<Bool>
29 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:28:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
26 | var divideByLanguage: OptionArgument<Bool>
27 | var divideByRegion: OptionArgument<Bool>
28 | var divideByTest: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 |
30 | var utiWhitelist: OptionArgument<[String]>
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:30:23: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
28 | var divideByTest: OptionArgument<Bool>
29 |
30 | var utiWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
31 | var activityTypeWhitelist: OptionArgument<[String]>
32 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:31:32: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
29 |
30 | var utiWhitelist: OptionArgument<[String]>
31 | var activityTypeWhitelist: OptionArgument<[String]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
32 |
33 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:33:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
31 | var activityTypeWhitelist: OptionArgument<[String]>
32 |
33 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
34 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
35 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:55:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
53 | }
54 |
55 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
56 | guard let xcresultPathArgument = arguments.get(path) else {
57 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:35:60: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
33 | init(parser: ArgumentParser) {
34 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
35 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
36 | optional: false, usage: "Path to the xcresult file", completion: .filename)
37 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:37:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
35 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
36 | optional: false, usage: "Path to the xcresult file", completion: .filename)
37 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
38 | optional: true, usage: "Folder to export results to", completion: .filename)
39 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:39:29: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
37 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
38 | optional: true, usage: "Folder to export results to", completion: .filename)
39 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
40 |
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:41:35: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
39 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
40 |
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:42:32: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
40 |
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:43:37: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
41 | divideByModel = subparser.add(option: "--model", shortName: nil, kind: Bool.self, usage: "Divide attachments by model")
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:44:44: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
42 | divideByOS = subparser.add(option: "--os", shortName: nil, kind: Bool.self, usage: "Divide attachments by OS")
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:45:38: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
43 | divideByTestRun = subparser.add(option: "--test-run", shortName: nil, kind: Bool.self, usage: "Deprecated. Use --test-plan-config")
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:46:36: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
44 | divideByTestPlanConfig = subparser.add(option: "--test-plan-config", shortName: nil, kind: Bool.self, usage: "Divide attachments by test plan configuration")
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
48 |
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:47:34: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
45 | divideByLanguage = subparser.add(option: "--language", shortName: nil, kind: Bool.self, usage: "Divide attachments by test language")
46 | divideByRegion = subparser.add(option: "--region", shortName: nil, kind: Bool.self, usage: "Divide attachments by test region")
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
48 |
49 | utiWhitelist = subparser.add(option: "--uti", shortName: nil, kind: [String].self, strategy: .upToNextOption,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:49:34: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
47 | divideByTest = subparser.add(option: "--test", shortName: nil, kind: Bool.self, usage: "Divide attachments by test")
48 |
49 | utiWhitelist = subparser.add(option: "--uti", shortName: nil, kind: [String].self, strategy: .upToNextOption,
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
50 | usage: "Whitelist of uniform type identifiers (UTI) attachments must conform to [optional, example: \"--uti public.image public.plain-text\"]")
51 | activityTypeWhitelist = subparser.add(option: "--activity-type", shortName: nil, kind: [String].self, strategy: .upToNextOption,
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:51:43: warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
49 | utiWhitelist = subparser.add(option: "--uti", shortName: nil, kind: [String].self, strategy: .upToNextOption,
50 | usage: "Whitelist of uniform type identifiers (UTI) attachments must conform to [optional, example: \"--uti public.image public.plain-text\"]")
51 | activityTypeWhitelist = subparser.add(option: "--activity-type", shortName: nil, kind: [String].self, strategy: .upToNextOption,
| `- warning: conformance of 'String' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
52 | usage: "Whitelist of acceptable activity types for attachments. If value does not specify domain, \"com.apple.dt.xctest.activity-type.\" is assumed and prefixed to the value [optional, example: \"--activity-type userCreated attachmentContainer com.apple.dt.xctest.activity-type.testAssertionFailure\"]")
53 | }
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:93:24: error: cannot find 'UTTypeConformsTo' in scope
91 | let attachmentUTI = $0.uniformTypeIdentifier as CFString
92 | for allowedUTI in allowedUTIsToExport {
93 | if UTTypeConformsTo(attachmentUTI, allowedUTI as CFString) {
| `- error: cannot find 'UTTypeConformsTo' in scope
94 | return true
95 | }
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:91:65: error: cannot find type 'CFString' in scope
89 | if let allowedUTIsToExport = arguments.get(self.utiWhitelist) {
90 | options.attachmentFilter = {
91 | let attachmentUTI = $0.uniformTypeIdentifier as CFString
| `- error: cannot find type 'CFString' in scope
92 | for allowedUTI in allowedUTIsToExport {
93 | if UTTypeConformsTo(attachmentUTI, allowedUTI as CFString) {
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:93:70: error: cannot find type 'CFString' in scope
91 | let attachmentUTI = $0.uniformTypeIdentifier as CFString
92 | for allowedUTI in allowedUTIsToExport {
93 | if UTTypeConformsTo(attachmentUTI, allowedUTI as CFString) {
| `- error: cannot find type 'CFString' in scope
94 | return true
95 | }
/host/spi-builder-workspace/Sources/xcparse/AttachmentsCommand.swift:65:42: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | if let outputPathArgument = arguments.get(self.outputPath) {
64 | outputPath = outputPathArgument.path
65 | } else if let workingDirectory = localFileSystem.currentWorkingDirectory {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | outputPath = workingDirectory
67 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1133 |
1134 | extension FileSystem {
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:18:15: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:18:34: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
16 | let usage = "[OPTIONS] xcresult [outputDirectory]"
17 |
18 | var path: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:19:21: warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PositionalArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:19:40: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 |
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:20:18: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 | var path: PositionalArgument<PathArgument>
19 | var outputPath: PositionalArgument<PathArgument>
20 | var verbose: OptionArgument<Bool>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(parser: ArgumentParser) {
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:22:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | var verbose: OptionArgument<Bool>
21 |
22 | init(parser: ArgumentParser) {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:31:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
29 | }
30 |
31 | func run(with arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
32 | guard let xcresultPathArgument = arguments.get(path) else {
33 | print("Missing xcresult path")
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:24:60: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
22 | init(parser: ArgumentParser) {
23 | let subparser = parser.add(subparser: command, usage: usage, overview: overview)
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
25 | optional: false, usage: "Path to the xcresult file", completion: .filename)
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:26:73: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
24 | path = subparser.add(positional: "xcresult", kind: PathArgument.self,
25 | optional: false, usage: "Path to the xcresult file", completion: .filename)
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
27 | optional: true, usage: "Folder to export results to", completion: .filename)
28 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:28:29: warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
26 | outputPath = subparser.add(positional: "outputDirectory", kind: PathArgument.self,
27 | optional: true, usage: "Folder to export results to", completion: .filename)
28 | verbose = subparser.add(option: "--verbose", shortName: "-v", kind: Bool.self, usage: "Enable verbose logging")
| `- warning: conformance of 'Bool' to 'ArgumentKind' is deprecated: use swift-argument-parser instead
29 | }
30 |
/host/spi-builder-workspace/Sources/xcparse/CodeCoverageCommand.swift:41:42: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | if let outputPathArgument = arguments.get(self.outputPath) {
40 | outputPath = outputPathArgument.path
41 | } else if let workingDirectory = localFileSystem.currentWorkingDirectory {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | outputPath = workingDirectory
43 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1133 |
1134 | extension FileSystem {
[225/230] Compiling xcparse Command.swift
/host/spi-builder-workspace/Sources/xcparse/Command.swift:19:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
17 | var usage: String { get }
18 |
19 | init(parser: ArgumentParser)
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | func run(with arguments: ArgumentParser.Result) throws
21 | }
/host/spi-builder-workspace/Sources/xcparse/Command.swift:20:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
18 |
19 | init(parser: ArgumentParser)
20 | func run(with arguments: ArgumentParser.Result) throws
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
21 | }
22 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:16:25: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
14 | // https://www.enekoalonso.com/articles/handling-commands-with-swift-package-manager
15 | struct CommandRegistry {
16 | private let parser: ArgumentParser
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:19:36: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | private var legacyXcov: OptionArgument<[PathArgument]>
21 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:19:52: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | private var legacyXcov: OptionArgument<[PathArgument]>
21 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:20:29: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
20 | private var legacyXcov: OptionArgument<[PathArgument]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:20:45: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
20 | private var legacyXcov: OptionArgument<[PathArgument]>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:48:100: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
46 | }
47 |
48 | private func parse(_ arguments: [String] = Array(CommandLine.arguments.dropFirst())) throws -> ArgumentParser.Result {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
49 | return try parser.parse(arguments)
50 | }
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:52:60: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
50 | }
51 |
52 | private func processLegacyScreenshotCommand(arguments: ArgumentParser.Result) -> Bool {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
53 | guard let legacyScreenshotPaths = arguments.get(self.legacyScreenshots) else {
54 | return false
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:85:62: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
83 | }
84 |
85 | private func processLegacyCodeCoverageCommand(arguments: ArgumentParser.Result) -> Bool {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
86 | guard let legacyCodeCovPaths = arguments.get(self.legacyXcov) else {
87 | return false
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:105:37: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
103 | }
104 |
105 | private func process(arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
106 | // Check to see if it's a legacy command
107 | if self.processLegacyScreenshotCommand(arguments: arguments) == true {
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:23:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
23 | parser = ArgumentParser(usage: usage, overview: overview)
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
24 |
25 | legacyScreenshots = parser.add(option: "--screenshots", shortName: "-s", kind: [PathArgument].self,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:25:89: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
23 | parser = ArgumentParser(usage: usage, overview: overview)
24 |
25 | legacyScreenshots = parser.add(option: "--screenshots", shortName: "-s", kind: [PathArgument].self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
26 | strategy: .upToNextOption, usage: "Legacy screenshots command. Use \"screenshots\" subcommand instead.", completion: .filename)
27 | legacyXcov = parser.add(option: "--xcov", shortName: "-x", kind: [PathArgument].self,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:27:75: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
25 | legacyScreenshots = parser.add(option: "--screenshots", shortName: "-s", kind: [PathArgument].self,
26 | strategy: .upToNextOption, usage: "Legacy screenshots command. Use \"screenshots\" subcommand instead.", completion: .filename)
27 | legacyXcov = parser.add(option: "--xcov", shortName: "-x", kind: [PathArgument].self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
28 | strategy: .upToNextOption, usage: "Legacy code coverage command. Use \"codecov\" subcommand instead.", completion: .filename)
29 | }
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:41:25: warning: 'description' is deprecated: use swift-argument-parser instead
39 | }
40 | catch let error as ArgumentParserError {
41 | print(error.description)
| `- warning: 'description' is deprecated: use swift-argument-parser instead
42 | }
43 | catch let error {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:40:28: warning: 'ArgumentParserError' is deprecated: use swift-argument-parser instead
38 | try process(arguments: parsedArguments)
39 | }
40 | catch let error as ArgumentParserError {
| `- warning: 'ArgumentParserError' is deprecated: use swift-argument-parser instead
41 | print(error.description)
42 | }
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:73:60: error: cannot find 'UTTypeConformsTo' in scope
71 | xcresulttoolCompatability: xcresulttoolCompatability,
72 | attachmentFilter: {
73 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find 'UTTypeConformsTo' in scope
74 | })
75 | try xcpParser.extractAttachments(xcresultPath: legacyScreenshotPaths[0].path.pathString,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:73:105: error: cannot find type 'CFString' in scope
71 | xcresulttoolCompatability: xcresulttoolCompatability,
72 | attachmentFilter: {
73 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find type 'CFString' in scope
74 | })
75 | try xcpParser.extractAttachments(xcresultPath: legacyScreenshotPaths[0].path.pathString,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:73:133: error: cannot find type 'CFString' in scope
71 | xcresulttoolCompatability: xcresulttoolCompatability,
72 | attachmentFilter: {
73 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find type 'CFString' in scope
74 | })
75 | try xcpParser.extractAttachments(xcresultPath: legacyScreenshotPaths[0].path.pathString,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:116:44: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | guard let subparser = arguments.subparser(parser),
115 | let command = commands.first(where: { $0.command == subparser }) else {
116 | parser.printUsage(on: TSCBasic.stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | return
118 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
784 | filePointer: TSCLibc.stdout,
785 | closeOnDeinit: false))
[226/230] Compiling xcparse CommandRegistry.swift
/host/spi-builder-workspace/Sources/xcparse/Command.swift:19:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
17 | var usage: String { get }
18 |
19 | init(parser: ArgumentParser)
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
20 | func run(with arguments: ArgumentParser.Result) throws
21 | }
/host/spi-builder-workspace/Sources/xcparse/Command.swift:20:30: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
18 |
19 | init(parser: ArgumentParser)
20 | func run(with arguments: ArgumentParser.Result) throws
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
21 | }
22 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:16:25: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
14 | // https://www.enekoalonso.com/articles/handling-commands-with-swift-package-manager
15 | struct CommandRegistry {
16 | private let parser: ArgumentParser
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:19:36: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
20 | private var legacyXcov: OptionArgument<[PathArgument]>
21 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:19:52: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
17 | private var commands: [Command] = []
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
20 | private var legacyXcov: OptionArgument<[PathArgument]>
21 |
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:20:29: warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
20 | private var legacyXcov: OptionArgument<[PathArgument]>
| `- warning: 'OptionArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:20:45: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
18 |
19 | private var legacyScreenshots: OptionArgument<[PathArgument]>
20 | private var legacyXcov: OptionArgument<[PathArgument]>
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:48:100: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
46 | }
47 |
48 | private func parse(_ arguments: [String] = Array(CommandLine.arguments.dropFirst())) throws -> ArgumentParser.Result {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
49 | return try parser.parse(arguments)
50 | }
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:52:60: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
50 | }
51 |
52 | private func processLegacyScreenshotCommand(arguments: ArgumentParser.Result) -> Bool {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
53 | guard let legacyScreenshotPaths = arguments.get(self.legacyScreenshots) else {
54 | return false
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:85:62: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
83 | }
84 |
85 | private func processLegacyCodeCoverageCommand(arguments: ArgumentParser.Result) -> Bool {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
86 | guard let legacyCodeCovPaths = arguments.get(self.legacyXcov) else {
87 | return false
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:105:37: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
103 | }
104 |
105 | private func process(arguments: ArgumentParser.Result) throws {
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
106 | // Check to see if it's a legacy command
107 | if self.processLegacyScreenshotCommand(arguments: arguments) == true {
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:23:18: warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
21 |
22 | init(usage: String, overview: String) {
23 | parser = ArgumentParser(usage: usage, overview: overview)
| `- warning: 'ArgumentParser' is deprecated: use swift-argument-parser instead
24 |
25 | legacyScreenshots = parser.add(option: "--screenshots", shortName: "-s", kind: [PathArgument].self,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:25:89: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
23 | parser = ArgumentParser(usage: usage, overview: overview)
24 |
25 | legacyScreenshots = parser.add(option: "--screenshots", shortName: "-s", kind: [PathArgument].self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
26 | strategy: .upToNextOption, usage: "Legacy screenshots command. Use \"screenshots\" subcommand instead.", completion: .filename)
27 | legacyXcov = parser.add(option: "--xcov", shortName: "-x", kind: [PathArgument].self,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:27:75: warning: 'PathArgument' is deprecated: use swift-argument-parser instead
25 | legacyScreenshots = parser.add(option: "--screenshots", shortName: "-s", kind: [PathArgument].self,
26 | strategy: .upToNextOption, usage: "Legacy screenshots command. Use \"screenshots\" subcommand instead.", completion: .filename)
27 | legacyXcov = parser.add(option: "--xcov", shortName: "-x", kind: [PathArgument].self,
| `- warning: 'PathArgument' is deprecated: use swift-argument-parser instead
28 | strategy: .upToNextOption, usage: "Legacy code coverage command. Use \"codecov\" subcommand instead.", completion: .filename)
29 | }
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:41:25: warning: 'description' is deprecated: use swift-argument-parser instead
39 | }
40 | catch let error as ArgumentParserError {
41 | print(error.description)
| `- warning: 'description' is deprecated: use swift-argument-parser instead
42 | }
43 | catch let error {
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:40:28: warning: 'ArgumentParserError' is deprecated: use swift-argument-parser instead
38 | try process(arguments: parsedArguments)
39 | }
40 | catch let error as ArgumentParserError {
| `- warning: 'ArgumentParserError' is deprecated: use swift-argument-parser instead
41 | print(error.description)
42 | }
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:73:60: error: cannot find 'UTTypeConformsTo' in scope
71 | xcresulttoolCompatability: xcresulttoolCompatability,
72 | attachmentFilter: {
73 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find 'UTTypeConformsTo' in scope
74 | })
75 | try xcpParser.extractAttachments(xcresultPath: legacyScreenshotPaths[0].path.pathString,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:73:105: error: cannot find type 'CFString' in scope
71 | xcresulttoolCompatability: xcresulttoolCompatability,
72 | attachmentFilter: {
73 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find type 'CFString' in scope
74 | })
75 | try xcpParser.extractAttachments(xcresultPath: legacyScreenshotPaths[0].path.pathString,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:73:133: error: cannot find type 'CFString' in scope
71 | xcresulttoolCompatability: xcresulttoolCompatability,
72 | attachmentFilter: {
73 | return UTTypeConformsTo($0.uniformTypeIdentifier as CFString, "public.image" as CFString)
| `- error: cannot find type 'CFString' in scope
74 | })
75 | try xcpParser.extractAttachments(xcresultPath: legacyScreenshotPaths[0].path.pathString,
/host/spi-builder-workspace/Sources/xcparse/CommandRegistry.swift:116:44: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | guard let subparser = arguments.subparser(parser),
115 | let command = commands.first(where: { $0.command == subparser }) else {
116 | parser.printUsage(on: TSCBasic.stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | return
118 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
784 | filePointer: TSCLibc.stdout,
785 | closeOnDeinit: false))
[227/230] Compiling xcparse main.swift
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:15:5: warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| `- warning: let 'xcparseCurrentVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct XCResultToolCompatability {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/Version.swift:14:15: note: struct 'Version' does not conform to the 'Sendable' protocol
12 |
13 | /// A struct representing a semver version.
14 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
15 |
16 | /// The major version.
/host/spi-builder-workspace/Sources/xcparse/XCPParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
9 | import Foundation
10 | import TSCBasic
11 | import TSCUtility
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCUtility'
12 | import XCParseCore
13 | import Converter
14 |
15 | let xcparseCurrentVersion = Version(2, 3, 2)
| |- note: annotate 'xcparseCurrentVersion' 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
16 |
17 | struct XCResultToolCompatability {
BUILD FAILURE 6.0 linux