Build Information
Successful build of xcparse, reference master (fdba6f
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 08:31:07 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChargePoint/xcparse.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChargePoint/xcparse
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fdba6f6 [no-jira] Update current version to 2.3.2
Cloned https://github.com/ChargePoint/xcparse.git
Revision (git rev-parse @):
fdba6f63882f8dff5a8a8b8d772aa28d74e7862e
SUCCESS checkout https://github.com/ChargePoint/xcparse.git at master
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/3919] Fetching swift-system
[3920/10470] Fetching swift-system, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (1.48s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.48s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.3.0 (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.60s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "xcparse",
"name": "xcparse",
"url": "https://github.com/ChargePoint/xcparse.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xcparse",
"dependencies": [
{
"identity": "swift-tools-support-core",
"name": "swift-tools-support-core",
"url": "https://github.com/apple/swift-tools-support-core.git",
"version": "0.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tools-support-core",
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/ChargePoint/xcparse.git
[1/1646] Fetching xcparse
Fetched https://github.com/ChargePoint/xcparse.git from cache (1.40s)
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.76s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.3.0 (0.02s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.02s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.3.0
Creating working copy for https://github.com/ChargePoint/xcparse.git
Working copy of https://github.com/ChargePoint/xcparse.git resolved at master (fdba6f6)
Found 1 product dependencies
- swift-tools-support-core
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ChargePoint/xcparse.git
{
"dependencies" : [
{
"identity" : "swift-tools-support-core",
"requirement" : {
"exact" : [
"0.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
}
],
"manifest_display_name" : "xcparse",
"name" : "xcparse",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "xcparse",
"targets" : [
"xcparse"
],
"type" : {
"executable" : null
}
},
{
"name" : "XCParseCore",
"targets" : [
"XCParseCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Converter",
"targets" : [
"Converter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "xcparseTests",
"module_type" : "SwiftTarget",
"name" : "xcparseTests",
"path" : "Tests/xcparseTests",
"sources" : [
"ScreenshotCommandUTITests.swift",
"XCTestManifests.swift",
"xcparseTests.swift"
],
"target_dependencies" : [
"xcparse",
"testUtility"
],
"type" : "test"
},
{
"c99name" : "xcparse",
"module_type" : "SwiftTarget",
"name" : "xcparse",
"path" : "Sources/xcparse",
"product_dependencies" : [
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"xcparse"
],
"sources" : [
"AttachmentsCommand.swift",
"CodeCoverageCommand.swift",
"Command.swift",
"CommandRegistry.swift",
"ConverterCommand.swift",
"GitHubLatestReleaseResponse.swift",
"LogsCommand.swift",
"ScreenshotsCommand.swift",
"VersionCommand.swift",
"XCPParser.swift",
"main.swift"
],
"target_dependencies" : [
"XCParseCore",
"Converter"
],
"type" : "executable"
},
{
"c99name" : "testUtility",
"module_type" : "SwiftTarget",
"name" : "testUtility",
"path" : "Tests/Utility",
"sources" : [
"FileManagerExtensions.swift",
"Resource.swift"
],
"type" : "library"
},
{
"c99name" : "appThinningConverterTests",
"module_type" : "SwiftTarget",
"name" : "appThinningConverterTests",
"path" : "Tests/appThinningConverterTests",
"sources" : [
"AppSizeParserTests.swift",
"ReportConverterTests.swift",
"VariantDescriptorParserTests.swift",
"VariantParserTests.swift"
],
"target_dependencies" : [
"Converter",
"testUtility"
],
"type" : "test"
},
{
"c99name" : "XCParseCore",
"module_type" : "SwiftTarget",
"name" : "XCParseCore",
"path" : "Sources/XCParseCore",
"product_dependencies" : [
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"xcparse",
"XCParseCore",
"Converter"
],
"sources" : [
"ActionAbstractTestSummary.swift",
"ActionDeviceRecord.swift",
"ActionPlatformRecord.swift",
"ActionRecord.swift",
"ActionResult.swift",
"ActionRunDestinationRecord.swift",
"ActionSDKRecord.swift",
"ActionTestActivitySummary.swift",
"ActionTestAttachment.swift",
"ActionTestConfiguration.swift",
"ActionTestExpectedFailure.swift",
"ActionTestFailureSummary.swift",
"ActionTestMetadata.swift",
"ActionTestNoticeSummary.swift",
"ActionTestPerformanceMetricSummary.swift",
"ActionTestPlanRunSummaries.swift",
"ActionTestPlanRunSummary.swift",
"ActionTestRepetitionPolicySummary.swift",
"ActionTestSummary.swift",
"ActionTestSummaryGroup.swift",
"ActionTestSummaryIdentifiableObject.swift",
"ActionTestableSummary.swift",
"ActionsInvocationMetadata.swift",
"ActionsInvocationRecord.swift",
"ActivityLogAnalyzerControlFlowStep.swift",
"ActivityLogAnalyzerControlFlowStepEdge.swift",
"ActivityLogAnalyzerEventStep.swift",
"ActivityLogAnalyzerResultMessage.swift",
"ActivityLogAnalyzerStep.swift",
"ActivityLogAnalyzerWarningMessage.swift",
"ActivityLogCommandInvocationSection.swift",
"ActivityLogMajorSection.swift",
"ActivityLogMessage.swift",
"ActivityLogMessageAnnotation.swift",
"ActivityLogSection.swift",
"ActivityLogTargetBuildSection.swift",
"ActivityLogUnitTestSection.swift",
"ArchiveInfo.swift",
"CodeCoverageInfo.swift",
"Console.swift",
"ConsoleLogItem.swift",
"ConsoleLogSection.swift",
"DocumentLocation.swift",
"EntityIdentifier.swift",
"Extensions/String+ASCII.swift",
"Extensions/URL+Directory.swift",
"IssueSummary.swift",
"ObjectID.swift",
"Reference.swift",
"ResultIssueSummaries.swift",
"ResultMetrics.swift",
"SortedKeyValueArray.swift",
"SortedKeyValueArrayPair.swift",
"SourceCode/SourceCodeContext.swift",
"SourceCode/SourceCodeFrame.swift",
"SourceCode/SourceCodeLocation.swift",
"SourceCode/SourceCodeSymbolInfo.swift",
"TestAssociatedError.swift",
"TestFailureIssueSummary.swift",
"TypeDefinition.swift",
"Version+XCPTooling.swift",
"XCPResultDecoding.swift",
"XCResult.swift",
"XCResultToolCommand.swift"
],
"type" : "library"
},
{
"c99name" : "Converter",
"module_type" : "SwiftTarget",
"name" : "Converter",
"path" : "Sources/Converter",
"product_memberships" : [
"xcparse",
"Converter"
],
"sources" : [
"Helper/FileController.swift",
"Helper/MemorySize.swift",
"Helper/ResultFactory.swift",
"Models/AppSizeModel.swift",
"Models/DeviceModel.swift",
"Models/VariantModel.swift",
"Parser/AppSizeParser.swift",
"Parser/ReportConverter.swift",
"Parser/VariantDescriptorParser.swift",
"Parser/VariantParser.swift"
],
"target_dependencies" : [
"XCParseCore"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/16] Write sources
[7/16] Write xcparse-entitlement.plist
[8/16] Write sources
[9/16] Compiling CSystem shims.c
[9/16] Compiling TSCclibc process.c
[11/16] Compiling TSCclibc libc.c
[12/16] Write swift-version--7754E27361AE5C74.txt
[14/42] Emitting module SystemPackage
[15/44] Emitting module TSCLibc
[16/44] Compiling TSCLibc libc.swift
[17/44] Compiling SystemPackage FilePathString.swift
[18/44] Compiling SystemPackage FilePathSyntax.swift
[19/44] Compiling SystemPackage CInterop.swift
[20/44] Compiling SystemPackage Constants.swift
[21/44] Compiling SystemPackage FilePathWindows.swift
[22/44] Compiling SystemPackage FilePermissions.swift
[23/44] Compiling SystemPackage FilePathComponents.swift
[24/44] Compiling SystemPackage FilePathParsing.swift
[25/44] Compiling SystemPackage Exports.swift
[26/44] Compiling SystemPackage Mocking.swift
[27/44] Compiling SystemPackage Syscalls.swift
[28/44] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/44] Compiling SystemPackage FileOperations.swift
[30/44] Compiling SystemPackage FilePath.swift
[31/44] Compiling SystemPackage FilePathComponentView.swift
[32/44] Compiling SystemPackage Errno.swift
[33/44] Compiling SystemPackage FileDescriptor.swift
[34/44] Compiling SystemPackage FileHelpers.swift
[35/44] Compiling SystemPackage PlatformString.swift
[36/44] Compiling SystemPackage SystemString.swift
[37/44] Compiling SystemPackage Util.swift
[38/44] Compiling SystemPackage UtilConsumers.swift
[39/85] Emitting module testUtility
[40/85] Compiling testUtility FileManagerExtensions.swift
[41/85] Compiling testUtility Resource.swift
[42/85] Compiling TSCBasic JSONMapper.swift
[43/85] Compiling TSCBasic KeyedPair.swift
[44/85] Compiling TSCBasic LazyCache.swift
[45/85] Compiling TSCBasic Lock.swift
[46/89] Compiling TSCBasic DeltaAlgorithm.swift
[47/89] Compiling TSCBasic DiagnosticsEngine.swift
[48/89] Compiling TSCBasic DictionaryExtensions.swift
[49/89] Compiling TSCBasic DictionaryLiteralExtensions.swift
[50/89] Compiling TSCBasic EditDistance.swift
[51/89] Compiling TSCBasic ProcessSet.swift
[52/89] Compiling TSCBasic RegEx.swift
[53/89] Compiling TSCBasic Result.swift
[54/89] Compiling TSCBasic SortedArray.swift
[55/89] Compiling TSCBasic OSLog.swift
[56/89] Compiling TSCBasic ObjectIdentifierProtocol.swift
[57/89] Compiling TSCBasic OrderedDictionary.swift
[58/89] Compiling TSCBasic OrderedSet.swift
[59/89] Compiling TSCBasic Await.swift
[60/89] Compiling TSCBasic Base64URL.swift
[61/89] Compiling TSCBasic ByteString.swift
[62/89] Compiling TSCBasic CStringArray.swift
[63/89] Compiling TSCBasic CacheableSequence.swift
[64/89] Emitting module TSCBasic
[65/89] Compiling TSCBasic Thread.swift
[66/89] Compiling TSCBasic Tuple.swift
[67/89] Compiling TSCBasic WritableByteStream.swift
[68/89] Compiling TSCBasic misc.swift
[69/89] Compiling TSCBasic Path.swift
[70/89] Compiling TSCBasic PathShims.swift
[71/89] Compiling TSCBasic Process.swift
[72/89] Compiling TSCBasic ProcessEnv.swift
[73/89] Compiling TSCBasic StringConversions.swift
[74/89] Compiling TSCBasic SynchronizedQueue.swift
[75/89] Compiling TSCBasic TemporaryFile.swift
[76/89] Compiling TSCBasic TerminalController.swift
[77/89] Compiling TSCBasic Closable.swift
[78/89] Compiling TSCBasic CodableResult.swift
[79/89] Compiling TSCBasic CollectionAlgorithms.swift
[80/89] Compiling TSCBasic CollectionExtensions.swift
[81/89] Compiling TSCBasic Condition.swift
[82/89] Compiling TSCBasic FileInfo.swift
[83/89] Compiling TSCBasic FileSystem.swift
[84/89] Compiling TSCBasic GraphAlgorithms.swift
[85/89] Compiling TSCBasic HashAlgorithms.swift
[86/89] Compiling TSCBasic JSON.swift
[87/126] Compiling TSCUtility BuildFlags.swift
[88/126] Compiling TSCUtility CollectionExtensions.swift
[89/126] Compiling TSCUtility Context.swift
[90/126] Compiling TSCUtility Diagnostics.swift
[91/130] Compiling TSCUtility Tracing.swift
[92/130] Compiling TSCUtility Triple.swift
[93/130] Compiling TSCUtility URL.swift
[94/130] Compiling TSCUtility Verbosity.swift
[95/130] Compiling TSCUtility Version.swift
[96/130] Compiling TSCUtility Versioning.swift
[97/130] Compiling TSCUtility dlopen.swift
[98/130] Compiling TSCUtility misc.swift
[99/130] Compiling TSCUtility IndexStore.swift
[100/130] Compiling TSCUtility InterruptHandler.swift
[101/130] Compiling TSCUtility JSONMessageStreamingParser.swift
[102/130] Compiling TSCUtility Netrc.swift
[103/130] Compiling TSCUtility Archiver.swift
[104/130] Compiling TSCUtility ArgumentParser.swift
[105/130] Compiling TSCUtility ArgumentParserShellCompletion.swift
[106/130] Compiling TSCUtility Array+Extensions.swift
[107/130] Compiling TSCUtility FSWatch.swift
[108/130] Compiling TSCUtility FloatingPointExtensions.swift
[109/130] Compiling TSCUtility Git.swift
[110/130] Compiling TSCUtility Hex.swift
[111/130] Compiling TSCUtility OSLog.swift
[112/130] Compiling TSCUtility OrderedZip.swift
[113/130] Compiling TSCUtility PersistenceCache.swift
[114/130] Compiling TSCUtility PkgConfig.swift
[115/130] Compiling TSCUtility Platform.swift
[116/130] Compiling TSCUtility PolymorphicCodable.swift
[117/130] Compiling TSCUtility ProgressAnimation.swift
[118/130] Compiling TSCUtility SQLite.swift
[119/130] Compiling TSCUtility SerializedDiagnostics.swift
[120/130] Compiling TSCUtility SimplePersistence.swift
[121/130] Compiling TSCUtility StringExtensions.swift
[122/130] Compiling TSCUtility StringMangling.swift
[123/130] Emitting module TSCUtility
[124/130] Compiling TSCUtility Bits.swift
[125/130] Compiling TSCUtility Bitstream.swift
[126/130] Compiling TSCUtility BitstreamReader.swift
[127/130] Compiling TSCUtility BitstreamWriter.swift
[128/189] Compiling XCParseCore ActivityLogAnalyzerStep.swift
[129/189] Compiling XCParseCore ActivityLogAnalyzerWarningMessage.swift
[130/189] Compiling XCParseCore ActivityLogCommandInvocationSection.swift
[131/189] Compiling XCParseCore ActivityLogMajorSection.swift
[132/189] Compiling XCParseCore ActivityLogMessage.swift
[133/189] Compiling XCParseCore ActivityLogMessageAnnotation.swift
[134/195] Compiling XCParseCore ConsoleLogItem.swift
[135/195] Compiling XCParseCore ConsoleLogSection.swift
[136/195] Compiling XCParseCore DocumentLocation.swift
[137/195] Compiling XCParseCore EntityIdentifier.swift
[138/195] Compiling XCParseCore String+ASCII.swift
[139/195] Compiling XCParseCore URL+Directory.swift
[140/195] Compiling XCParseCore IssueSummary.swift
[141/195] Compiling XCParseCore ObjectID.swift
[142/195] Compiling XCParseCore Reference.swift
[143/195] Compiling XCParseCore ResultIssueSummaries.swift
[144/195] Compiling XCParseCore ResultMetrics.swift
[145/195] Compiling XCParseCore SortedKeyValueArray.swift
[146/195] Compiling XCParseCore ActionTestPerformanceMetricSummary.swift
[147/195] Compiling XCParseCore ActionTestPlanRunSummaries.swift
[148/195] Compiling XCParseCore ActionTestPlanRunSummary.swift
[149/195] Compiling XCParseCore ActionTestRepetitionPolicySummary.swift
[150/195] Compiling XCParseCore ActionTestSummary.swift
[151/195] Compiling XCParseCore ActionTestSummaryGroup.swift
[152/195] Compiling XCParseCore ActionTestSummaryIdentifiableObject.swift
[153/195] Compiling XCParseCore ActionAbstractTestSummary.swift
[154/195] Compiling XCParseCore ActionDeviceRecord.swift
[155/195] Compiling XCParseCore ActionPlatformRecord.swift
[156/195] Compiling XCParseCore ActionRecord.swift
[157/195] Compiling XCParseCore ActionResult.swift
[158/195] Compiling XCParseCore ActionRunDestinationRecord.swift
[159/195] Compiling XCParseCore ActionSDKRecord.swift
[160/195] Compiling XCParseCore ActionTestableSummary.swift
[161/195] Compiling XCParseCore ActionsInvocationMetadata.swift
[162/195] Compiling XCParseCore ActionsInvocationRecord.swift
[163/195] Compiling XCParseCore ActivityLogAnalyzerControlFlowStep.swift
[164/195] Compiling XCParseCore ActivityLogAnalyzerControlFlowStepEdge.swift
[165/195] Compiling XCParseCore ActivityLogAnalyzerEventStep.swift
[166/195] Compiling XCParseCore ActivityLogAnalyzerResultMessage.swift
[167/195] Compiling XCParseCore ActivityLogSection.swift
[168/195] Compiling XCParseCore ActivityLogTargetBuildSection.swift
[169/195] Compiling XCParseCore ActivityLogUnitTestSection.swift
[170/195] Compiling XCParseCore ArchiveInfo.swift
[171/195] Compiling XCParseCore CodeCoverageInfo.swift
[172/195] Compiling XCParseCore Console.swift
[173/195] Compiling XCParseCore ActionTestActivitySummary.swift
[174/195] Compiling XCParseCore ActionTestAttachment.swift
[175/195] Compiling XCParseCore ActionTestConfiguration.swift
[176/195] Compiling XCParseCore ActionTestExpectedFailure.swift
[177/195] Compiling XCParseCore ActionTestFailureSummary.swift
[178/195] Compiling XCParseCore ActionTestMetadata.swift
[179/195] Compiling XCParseCore ActionTestNoticeSummary.swift
[180/195] Compiling XCParseCore SortedKeyValueArrayPair.swift
[181/195] Compiling XCParseCore SourceCodeContext.swift
[182/195] Compiling XCParseCore SourceCodeFrame.swift
[183/195] Compiling XCParseCore SourceCodeLocation.swift
[184/195] Compiling XCParseCore SourceCodeSymbolInfo.swift
[185/195] Compiling XCParseCore TestAssociatedError.swift
[186/195] Emitting module XCParseCore
/Users/admin/builder/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 {
[187/195] Compiling XCParseCore TestFailureIssueSummary.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[188/195] Compiling XCParseCore TypeDefinition.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[189/195] Compiling XCParseCore Version+XCPTooling.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[190/195] Compiling XCParseCore XCPResultDecoding.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[191/195] Compiling XCParseCore XCResult.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[192/195] Compiling XCParseCore XCResultToolCommand.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 Converter ReportConverter.swift
[194/205] Compiling Converter VariantModel.swift
[195/205] Compiling Converter AppSizeModel.swift
[196/205] Compiling Converter ResultFactory.swift
[197/206] Compiling Converter MemorySize.swift
[198/206] Compiling Converter FileController.swift
[199/206] Compiling Converter AppSizeParser.swift
[200/206] Emitting module Converter
[201/206] Compiling Converter VariantDescriptorParser.swift
[202/206] Compiling Converter DeviceModel.swift
[203/206] Compiling Converter VariantParser.swift
[204/217] Compiling xcparse LogsCommand.swift
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
[205/217] Compiling xcparse CommandRegistry.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/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,
/Users/admin/builder/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,
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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))
[206/217] Compiling xcparse ConverterCommand.swift
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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) {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
[207/217] Compiling xcparse VersionCommand.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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()
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
[208/217] Compiling xcparse Command.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[209/217] Emitting module xcparse
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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]>
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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) {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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]>
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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 | }
/Users/admin/builder/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()
[210/217] Compiling xcparse GitHubLatestReleaseResponse.swift
[211/217] Compiling xcparse AttachmentsCommand.swift
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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]>
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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,
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
[212/217] Compiling xcparse CodeCoverageCommand.swift
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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]>
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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,
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
[213/217] Compiling xcparse XCPParser.swift
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/xcparse/XCPParser.swift:449:40: warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
447 | do {
448 | let releaseResponse = try JSONDecoder().decode(GitHubLatestReleaseResponse.self, from: data!)
449 | if let latestVersion = Version(string: releaseResponse.name) {
| |- warning: 'init(string:)' is deprecated: replaced by 'init(_:)'
| `- note: use 'init(_:)' instead
450 | DispatchQueue.main.async {
451 | self.xcparseLatestVersion = latestVersion
/Users/admin/builder/spi-builder-workspace/Sources/xcparse/XCPParser.swift:451:25: warning: capture of 'self' with non-sendable type 'XCPParser' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | }
149 |
150 | class XCPParser {
| `- note: class 'XCPParser' does not conform to the 'Sendable' protocol
151 | var xcparseLatestVersion = xcparseCurrentVersion
152 |
:
449 | if let latestVersion = Version(string: releaseResponse.name) {
450 | DispatchQueue.main.async {
451 | self.xcparseLatestVersion = latestVersion
| `- warning: capture of 'self' with non-sendable type 'XCPParser' in a `@Sendable` closure; this is an error in the Swift 6 language mode
452 | }
453 | }
[214/217] Compiling xcparse ScreenshotsCommand.swift
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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]>
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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,
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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,
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
[215/218] Compiling xcparse main.swift
/Users/admin/builder/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 {
/Users/admin/builder/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.
/Users/admin/builder/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 {
[215/218] Write Objects.LinkFileList
[216/218] Linking xcparse
[217/218] Applying xcparse
Build complete! (28.57s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-tools-support-core",
"requirement" : {
"exact" : [
"0.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
}
],
"manifest_display_name" : "xcparse",
"name" : "xcparse",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "xcparse",
"targets" : [
"xcparse"
],
"type" : {
"executable" : null
}
},
{
"name" : "XCParseCore",
"targets" : [
"XCParseCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Converter",
"targets" : [
"Converter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "xcparseTests",
"module_type" : "SwiftTarget",
"name" : "xcparseTests",
"path" : "Tests/xcparseTests",
"sources" : [
"ScreenshotCommandUTITests.swift",
"XCTestManifests.swift",
"xcparseTests.swift"
],
"target_dependencies" : [
"xcparse",
"testUtility"
],
"type" : "test"
},
{
"c99name" : "xcparse",
"module_type" : "SwiftTarget",
"name" : "xcparse",
"path" : "Sources/xcparse",
"product_dependencies" : [
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"xcparse"
],
"sources" : [
"AttachmentsCommand.swift",
"CodeCoverageCommand.swift",
"Command.swift",
"CommandRegistry.swift",
"ConverterCommand.swift",
"GitHubLatestReleaseResponse.swift",
"LogsCommand.swift",
"ScreenshotsCommand.swift",
"VersionCommand.swift",
"XCPParser.swift",
"main.swift"
],
"target_dependencies" : [
"XCParseCore",
"Converter"
],
"type" : "executable"
},
{
"c99name" : "testUtility",
"module_type" : "SwiftTarget",
"name" : "testUtility",
"path" : "Tests/Utility",
"sources" : [
"FileManagerExtensions.swift",
"Resource.swift"
],
"type" : "library"
},
{
"c99name" : "appThinningConverterTests",
"module_type" : "SwiftTarget",
"name" : "appThinningConverterTests",
"path" : "Tests/appThinningConverterTests",
"sources" : [
"AppSizeParserTests.swift",
"ReportConverterTests.swift",
"VariantDescriptorParserTests.swift",
"VariantParserTests.swift"
],
"target_dependencies" : [
"Converter",
"testUtility"
],
"type" : "test"
},
{
"c99name" : "XCParseCore",
"module_type" : "SwiftTarget",
"name" : "XCParseCore",
"path" : "Sources/XCParseCore",
"product_dependencies" : [
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"xcparse",
"XCParseCore",
"Converter"
],
"sources" : [
"ActionAbstractTestSummary.swift",
"ActionDeviceRecord.swift",
"ActionPlatformRecord.swift",
"ActionRecord.swift",
"ActionResult.swift",
"ActionRunDestinationRecord.swift",
"ActionSDKRecord.swift",
"ActionTestActivitySummary.swift",
"ActionTestAttachment.swift",
"ActionTestConfiguration.swift",
"ActionTestExpectedFailure.swift",
"ActionTestFailureSummary.swift",
"ActionTestMetadata.swift",
"ActionTestNoticeSummary.swift",
"ActionTestPerformanceMetricSummary.swift",
"ActionTestPlanRunSummaries.swift",
"ActionTestPlanRunSummary.swift",
"ActionTestRepetitionPolicySummary.swift",
"ActionTestSummary.swift",
"ActionTestSummaryGroup.swift",
"ActionTestSummaryIdentifiableObject.swift",
"ActionTestableSummary.swift",
"ActionsInvocationMetadata.swift",
"ActionsInvocationRecord.swift",
"ActivityLogAnalyzerControlFlowStep.swift",
"ActivityLogAnalyzerControlFlowStepEdge.swift",
"ActivityLogAnalyzerEventStep.swift",
"ActivityLogAnalyzerResultMessage.swift",
"ActivityLogAnalyzerStep.swift",
"ActivityLogAnalyzerWarningMessage.swift",
"ActivityLogCommandInvocationSection.swift",
"ActivityLogMajorSection.swift",
"ActivityLogMessage.swift",
"ActivityLogMessageAnnotation.swift",
"ActivityLogSection.swift",
"ActivityLogTargetBuildSection.swift",
"ActivityLogUnitTestSection.swift",
"ArchiveInfo.swift",
"CodeCoverageInfo.swift",
"Console.swift",
"ConsoleLogItem.swift",
"ConsoleLogSection.swift",
"DocumentLocation.swift",
"EntityIdentifier.swift",
"Extensions/String+ASCII.swift",
"Extensions/URL+Directory.swift",
"IssueSummary.swift",
"ObjectID.swift",
"Reference.swift",
"ResultIssueSummaries.swift",
"ResultMetrics.swift",
"SortedKeyValueArray.swift",
"SortedKeyValueArrayPair.swift",
"SourceCode/SourceCodeContext.swift",
"SourceCode/SourceCodeFrame.swift",
"SourceCode/SourceCodeLocation.swift",
"SourceCode/SourceCodeSymbolInfo.swift",
"TestAssociatedError.swift",
"TestFailureIssueSummary.swift",
"TypeDefinition.swift",
"Version+XCPTooling.swift",
"XCPResultDecoding.swift",
"XCResult.swift",
"XCResultToolCommand.swift"
],
"type" : "library"
},
{
"c99name" : "Converter",
"module_type" : "SwiftTarget",
"name" : "Converter",
"path" : "Sources/Converter",
"product_memberships" : [
"xcparse",
"Converter"
],
"sources" : [
"Helper/FileController.swift",
"Helper/MemorySize.swift",
"Helper/ResultFactory.swift",
"Models/AppSizeModel.swift",
"Models/DeviceModel.swift",
"Models/VariantModel.swift",
"Parser/AppSizeParser.swift",
"Parser/ReportConverter.swift",
"Parser/VariantDescriptorParser.swift",
"Parser/VariantParser.swift"
],
"target_dependencies" : [
"XCParseCore"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.