The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of XcodeSelectiveTesting, reference 0.10.4 (aa3410), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 09:27:32 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikeger/XcodeSelectiveTesting.git
Reference: 0.10.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mikeger/XcodeSelectiveTesting
 * tag               0.10.4     -> FETCH_HEAD
HEAD is now at aa3410f Support PBXGroup build file elements eg localized variants (#35)
Cloned https://github.com/mikeger/XcodeSelectiveTesting.git
Revision (git rev-parse @):
aa3410ff9cf76d090fa3c901afa104d28cfc5f75
SUCCESS checkout https://github.com/mikeger/XcodeSelectiveTesting.git at 0.10.4
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/Yams.git
[1/1411] Fetching pathkit
[16/2432] Fetching pathkit, spectre
[170/4534] Fetching pathkit, spectre, aexml
[412/5660] Fetching pathkit, spectre, aexml, rainbow
[1264/15562] Fetching pathkit, spectre, aexml, rainbow, yams
[2404/27920] Fetching pathkit, spectre, aexml, rainbow, yams, swift-argument-parser
[4662/49769] Fetching pathkit, spectre, aexml, rainbow, yams, swift-argument-parser, xcodeproj
Fetched https://github.com/onevcat/Rainbow from cache (3.09s)
Fetched https://github.com/tadija/AEXML.git from cache (3.10s)
Fetched https://github.com/tuist/XcodeProj.git from cache (3.10s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.10s)
Fetched https://github.com/kylef/PathKit.git from cache (3.18s)
Fetched https://github.com/kylef/Spectre.git from cache (3.18s)
Fetched https://github.com/jpsim/Yams.git from cache (3.18s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.5 (0.67s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (2.55s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.69s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.1 (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.67s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.66s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.5
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.24.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
========================================
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": "xcodeselectivetesting",
      "name": "XcodeSelectiveTesting",
      "url": "https://github.com/mikeger/XcodeSelectiveTesting.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XcodeSelectiveTesting",
      "dependencies": [
        {
          "identity": "xcodeproj",
          "name": "XcodeProj",
          "url": "https://github.com/tuist/XcodeProj.git",
          "version": "8.24.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XcodeProj",
          "dependencies": [
            {
              "identity": "aexml",
              "name": "AEXML",
              "url": "https://github.com/tadija/AEXML.git",
              "version": "4.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AEXML",
              "dependencies": [
              ]
            },
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit.git",
              "version": "1.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
              "dependencies": [
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.10.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "pathkit",
          "name": "PathKit",
          "url": "https://github.com/kylef/PathKit.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "rainbow",
          "name": "Rainbow",
          "url": "https://github.com/onevcat/Rainbow",
          "version": "4.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
          "dependencies": [
          ]
        },
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "5.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/mikeger/XcodeSelectiveTesting.git
[1/1406] Fetching xcodeselectivetesting
Fetched https://github.com/mikeger/XcodeSelectiveTesting.git from cache (1.49s)
Fetching https://github.com/tuist/XcodeProj.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.94s)
Fetched https://github.com/jpsim/Yams.git from cache (0.94s)
Fetched https://github.com/kylef/PathKit.git from cache (0.94s)
Fetched https://github.com/tuist/XcodeProj.git from cache (0.94s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.94s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (0.03s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.02s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.71s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.04s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.65s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.52s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.8 (0.03s)
Fetching https://github.com/tadija/AEXML.git from cache
Fetched https://github.com/tadija/AEXML.git from cache (0.69s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.02s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.24.8
Creating working copy for https://github.com/mikeger/XcodeSelectiveTesting.git
Working copy of https://github.com/mikeger/XcodeSelectiveTesting.git resolved at 0.10.4 (aa3410f)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Found 5 product dependencies
  - XcodeProj
  - swift-argument-parser
  - PathKit
  - Rainbow
  - Yams
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mikeger/XcodeSelectiveTesting.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SelectiveTestingPlugin
Building for debugging...
[2/28] Write sources
[13/28] Write xcode-selective-test-entitlement.plist
[15/28] Write sources
[18/28] Write swift-version--7754E27361AE5C74.txt
[19/46] Compiling writer.c
[20/46] Compiling api.c
[21/46] Compiling parser.c
[22/52] Compiling reader.c
[23/52] Compiling emitter.c
[24/52] Compiling scanner.c
[26/67] Emitting module ArgumentParserToolInfo
[27/67] Compiling ArgumentParserToolInfo ToolInfo.swift
[28/105] Compiling Rainbow String+Rainbow.swift
[29/105] Compiling Rainbow StringGenerator.swift
[30/106] Compiling ArgumentParser ArgumentHelp.swift
[31/106] Compiling ArgumentParser ArgumentVisibility.swift
[32/106] Compiling ArgumentParser CompletionKind.swift
[33/106] Compiling ArgumentParser Errors.swift
[34/110] Compiling Rainbow Style.swift
[35/110] Compiling ArgumentParser InputOrigin.swift
[36/110] Compiling ArgumentParser Name.swift
[37/110] Compiling ArgumentParser Parsed.swift
[38/110] Compiling ArgumentParser ParsedValues.swift
[39/110] Compiling ArgumentParser Flag.swift
[40/110] Compiling ArgumentParser NameSpecification.swift
[41/110] Compiling ArgumentParser Option.swift
[42/110] Compiling ArgumentParser OptionGroup.swift
[43/110] Compiling ArgumentParser Platform.swift
[44/110] Compiling ArgumentParser SequenceExtensions.swift
[45/110] Compiling ArgumentParser StringExtensions.swift
[46/110] Compiling ArgumentParser Tree.swift
[47/110] Emitting module ArgumentParser
[48/110] Compiling ArgumentParser BashCompletionsGenerator.swift
[49/110] Compiling ArgumentParser CompletionsGenerator.swift
[50/110] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/110] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/110] Compiling ArgumentParser Argument.swift
[53/110] Compiling ArgumentParser ParsableArguments.swift
[54/110] Compiling ArgumentParser ParsableArgumentsValidation.swift
[55/110] Compiling ArgumentParser ParsableCommand.swift
[56/110] Compiling ArgumentParser ArgumentDecoder.swift
[57/110] Compiling ArgumentParser ArgumentDefinition.swift
[58/110] Compiling ArgumentParser ArgumentSet.swift
[59/110] Compiling ArgumentParser CommandParser.swift
[60/110] Compiling ArgumentParser InputKey.swift
[61/110] Emitting module SelectiveTestShell
[62/110] Compiling SelectiveTestShell Shell.swift
[63/110] Compiling SelectiveTestShell String+Error.swift
[64/110] Compiling AEXML Options.swift
[65/110] Compiling AEXML Error.swift
[66/110] Compiling Yams String+Yams.swift
[67/110] Compiling AEXML Element.swift
[68/110] Compiling Yams Tag.swift
[69/110] Compiling AEXML Parser.swift
[70/110] Compiling AEXML Document.swift
[71/110] Emitting module AEXML
[72/110] Compiling Yams Representer.swift
[75/111] Compiling PathKit PathKit.swift
[76/111] Emitting module PathKit
[77/111] Compiling Rainbow OutputTarget.swift
[78/111] Compiling Rainbow ControlCode.swift
[79/111] Compiling Yams Resolver.swift
[80/111] Compiling Rainbow ColorApproximation.swift
[81/111] Compiling Rainbow ModesExtractor.swift
[82/111] Compiling Rainbow Rainbow.swift
[83/111] Compiling Rainbow Color.swift
[84/111] Emitting module Rainbow
[93/111] Emitting module Yams
[96/204] Compiling XcodeProj String+md5.swift
[97/204] Compiling XcodeProj BuildPhase.swift
[98/204] Compiling XcodeProj PBXBuildFile.swift
[99/204] Compiling XcodeProj PBXBuildPhase.swift
[100/204] Compiling XcodeProj Array+Extras.swift
[101/204] Compiling XcodeProj Bool+Extras.swift
[102/204] Compiling XcodeProj Dictionary+Enumerate.swift
[103/204] Compiling XcodeProj Dictionary+Extras.swift
[104/204] Compiling XcodeProj KeyedDecodingContainer+Additions.swift
[105/204] Compiling XcodeProj NSRecursiveLock+Sync.swift
[106/204] Compiling XcodeProj Path+Extras.swift
[107/204] Compiling XcodeProj String+Utils.swift
[108/204] Compiling Yams YamlError.swift
[109/204] Compiling SelectiveTestLogger Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SelectiveTestLogger/Logger.swift:12:12: warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public var errStream = StandardErrorOutputStream()
   |            |- warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'errStream' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'errStream' 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
13 |
14 | public enum Logger {
[110/204] Emitting module SelectiveTestLogger
/Users/admin/builder/spi-builder-workspace/Sources/SelectiveTestLogger/Logger.swift:12:12: warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public var errStream = StandardErrorOutputStream()
   |            |- warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'errStream' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'errStream' 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
13 |
14 | public enum Logger {
[111/207] Compiling Git Git.swift
[112/207] Emitting module Git
[113/207] Compiling Git Git+Changeset.swift
[114/207] Compiling XcodeProj Errors.swift
[115/207] Compiling XcodeProj AEXML+XcodeFormat.swift
[124/217] Compiling XcodeProj Xcode.swift
[125/217] Compiling XcodeProj XcodeProj.swift
[126/217] Compiling XcodeProj Writable.swift
[127/217] Compiling XcodeProj XCScheme+AditionalOption.swift
[128/217] Compiling XcodeProj XCScheme+AnalyzeAction.swift
[129/217] Compiling XcodeProj XCScheme+ArchiveAction.swift
[130/217] Compiling XcodeProj XCScheme+BuildAction.swift
[131/217] Compiling XcodeProj XCScheme+BuildableProductRunnable.swift
[132/217] Compiling XcodeProj XCScheme+BuildableReference.swift
[133/217] Compiling XcodeProj XCScheme+CommandLineArguments.swift
[134/217] Compiling XcodeProj XCScheme+EnvironmentVariable.swift
[135/217] Compiling XcodeProj XCScheme+ExecutionAction.swift
[136/217] Compiling XcodeProj XCScheme+LaunchAction.swift
[137/217] Compiling XcodeProj XCScheme+LocationScenarioReference.swift
[138/217] Compiling XcodeProj XCScheme+PathRunnable.swift
[139/217] Compiling XcodeProj XCScheme+ProfileAction.swift
[140/217] Compiling XcodeProj XCScheme+RemoteRunnable.swift
[141/217] Compiling XcodeProj XCScheme+Runnable.swift
[142/217] Compiling XcodeProj XCScheme+SerialAction.swift
[143/217] Compiling XcodeProj XCScheme+StoreKitConfigurationFileReference.swift
[148/217] Compiling XcodeProj PBXBuildRule.swift
[149/217] Compiling XcodeProj PBXCopyFilesBuildPhase.swift
[150/217] Compiling XcodeProj PBXFrameworksBuildPhase.swift
[151/217] Compiling XcodeProj PBXHeadersBuildPhase.swift
[152/217] Compiling XcodeProj PBXResourcesBuildPhase.swift
[153/217] Compiling XcodeProj PBXRezBuildPhase.swift
[154/217] Compiling XcodeProj PBXBatchUpdater.swift
[155/217] Compiling XcodeProj PlistValue.swift
[156/217] Compiling XcodeProj ReferenceGenerator.swift
[157/217] Compiling XcodeProj XCConfig.swift
[158/217] Compiling XcodeProj XCWorkspace.swift
[159/217] Compiling XcodeProj XCWorkspaceData.swift
[160/217] Compiling XcodeProj XCWorkspaceDataElement.swift
[161/217] Compiling XcodeProj XCWorkspaceDataElementLocationType.swift
[162/217] Compiling XcodeProj XCWorkspaceDataFileRef.swift
[163/217] Compiling XcodeProj XCWorkspaceDataGroup.swift
[164/217] Compiling XcodeProj PBXNativeTarget.swift
[165/217] Compiling XcodeProj PBXProductType.swift
[166/217] Compiling XcodeProj PBXReferenceProxy.swift
[167/217] Compiling XcodeProj PBXTarget.swift
[168/217] Compiling XcodeProj PBXTargetDependency.swift
[169/217] Compiling XcodeProj WorkspaceSettings.swift
[170/217] Compiling XcodeProj XCBreakpointList.swift
[171/217] Compiling XcodeProj XCDebugger.swift
[172/217] Compiling XcodeProj XCSharedData.swift
[173/217] Compiling XcodeProj XCUserData.swift
[174/217] Emitting module XcodeProj
[175/217] Compiling XcodeProj XCScheme+TestAction.swift
[176/217] Compiling XcodeProj XCScheme+TestItem.swift
[177/217] Compiling XcodeProj XCScheme+TestPlanReference.swift
[178/217] Compiling XcodeProj XCScheme+TestableReference.swift
[179/217] Compiling XcodeProj XCScheme.swift
[180/217] Compiling XcodeProj XCSchemeManagement.swift
[181/217] Compiling XcodeProj BuildSettingsProvider.swift
[182/217] Compiling XcodeProj CommentedString.swift
[183/217] Compiling XcodeProj Decoders.swift
[184/217] Compiling XcodeProj JSONDecoding.swift
[185/217] Compiling XcodeProj PBXFileSystemSynchronizedRootGroup.swift
[186/217] Compiling XcodeProj PBXGroup.swift
[187/217] Compiling XcodeProj PBXSourceTree.swift
[188/217] Compiling XcodeProj PBXVariantGroup.swift
[189/217] Compiling XcodeProj XCVersionGroup.swift
[190/217] Compiling XcodeProj PBXObject.swift
[191/217] Compiling XcodeProj PBXObjectParser.swift
[192/217] Compiling XcodeProj PBXObjectReference.swift
[193/217] Compiling XcodeProj PBXObjects.swift
[194/217] Compiling XcodeProj PBXOutputSettings.swift
[195/217] Compiling XcodeProj PBXShellScriptBuildPhase.swift
[196/217] Compiling XcodeProj PBXSourcesBuildPhase.swift
[197/217] Compiling XcodeProj BuildSettings.swift
[198/217] Compiling XcodeProj XCBuildConfiguration.swift
[199/217] Compiling XcodeProj XCConfigurationList.swift
[200/217] Compiling XcodeProj PBXContainerItem.swift
[201/217] Compiling XcodeProj PBXContainerItemProxy.swift
[202/217] Compiling XcodeProj PBXFileElement.swift
[203/217] Compiling XcodeProj PBXFileReference.swift
[204/217] Compiling XcodeProj PBXFileSystemSynchronizedBuildFileExceptionSet.swift
[205/217] Compiling XcodeProj PBXProj.swift
[206/217] Compiling XcodeProj PBXProjEncoder.swift
[207/217] Compiling XcodeProj PBXProject.swift
[208/217] Compiling XcodeProj Equality.generated.swift
[209/217] Compiling XcodeProj Sourcery.swift
[210/217] Compiling XcodeProj XCLocalSwiftPackageReference.swift
[211/217] Compiling XcodeProj XCRemoteSwiftPackageReference.swift
[212/217] Compiling XcodeProj XCSwiftPackageProductDependency.swift
[213/217] Compiling XcodeProj PBXAggregateTarget.swift
[214/217] Compiling XcodeProj PBXLegacyTarget.swift
[215/223] Compiling Workspace XCWorkspace+Projects.swift
[216/223] Compiling Workspace Target.swift
[217/223] Compiling Workspace DependencyGraph.swift
[218/223] Compiling Workspace Sequence+Extensions.swift
[219/223] Compiling Workspace WorkspaceInfo.swift
[220/223] Emitting module Workspace
[221/233] Compiling DependencyCalculator PackageMetadata.swift
[222/233] Compiling DependencyCalculator DependencyCalculator.swift
[223/233] Compiling DependencyCalculator ConcurrentMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyCalculator/ConcurrentMap.swift:29:27: warning: capture of 'self' with non-sendable type 'Array<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 |         let result = ThreadSafe([B?](repeating: nil, count: count))
28 |         DispatchQueue.concurrentPerform(iterations: count) { idx in
29 |             let element = self[idx]
   |                           `- warning: capture of 'self' with non-sendable type 'Array<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |             let transformed = transform(element)
31 |             result.atomically {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyCalculator/ConcurrentMap.swift:30:31: warning: capture of 'transform' with non-sendable type '(Element) -> B' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |         DispatchQueue.concurrentPerform(iterations: count) { idx in
29 |             let element = self[idx]
30 |             let transformed = transform(element)
   |                               |- warning: capture of 'transform' with non-sendable type '(Element) -> B' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 |             result.atomically {
32 |                 $0[idx] = transformed
/Users/admin/builder/spi-builder-workspace/Sources/DependencyCalculator/ConcurrentMap.swift:31:13: warning: capture of 'result' with non-sendable type 'ThreadSafe<[B?]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 5 | import Foundation
 6 |
 7 | final class ThreadSafe<A> {
   |             `- note: generic class 'ThreadSafe' does not conform to the 'Sendable' protocol
 8 |     private var _value: A
 9 |     private let queue = DispatchQueue(label: "ThreadSafe")
   :
29 |             let element = self[idx]
30 |             let transformed = transform(element)
31 |             result.atomically {
   |             `- warning: capture of 'result' with non-sendable type 'ThreadSafe<[B?]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |                 $0[idx] = transformed
33 |             }
[224/233] Emitting module DependencyCalculator
[225/233] Compiling DependencyCalculator DependencyGraph.swift
[226/233] Compiling TestConfigurator TestConfigurator.swift
[227/233] Emitting module TestConfigurator
[228/233] Compiling TestConfigurator TestPlanHelper.swift
[229/233] Compiling TestConfigurator Array+Extensions.swift
[230/233] Compiling TestConfigurator TestPlanModel.swift
[231/237] Compiling SelectiveTestingCore DependencyGraph+Visualization.swift
[232/237] Emitting module SelectiveTestingCore
[233/237] Compiling SelectiveTestingCore Config.swift
[234/237] Compiling SelectiveTestingCore SelectiveTestingTool.swift
[235/239] Emitting module xcode_selective_test
/Users/admin/builder/spi-builder-workspace/Sources/xcode-selective-test/SelectiveTesting.swift:11:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | @main
10 | struct SelectiveTesting: AsyncParsableCommand {
11 |     static let configuration = CommandConfiguration(abstract: "Configure test plan to run only tests relevant for the changeset")
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     @Argument(help: "Project, workspace or package path", completion: .file(extensions: ["xcworkspace", "xcodeproj"]))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/xcode-selective-test/SelectiveTesting.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 3 | //
 4 |
 5 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 6 | import SelectiveTestingCore
 7 | import SelectiveTestLogger
   :
 9 | @main
10 | struct SelectiveTesting: AsyncParsableCommand {
11 |     static let configuration = CommandConfiguration(abstract: "Configure test plan to run only tests relevant for the changeset")
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     @Argument(help: "Project, workspace or package path", completion: .file(extensions: ["xcworkspace", "xcodeproj"]))
[236/239] Compiling xcode_selective_test SelectiveTesting.swift
/Users/admin/builder/spi-builder-workspace/Sources/xcode-selective-test/SelectiveTesting.swift:11:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | @main
10 | struct SelectiveTesting: AsyncParsableCommand {
11 |     static let configuration = CommandConfiguration(abstract: "Configure test plan to run only tests relevant for the changeset")
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     @Argument(help: "Project, workspace or package path", completion: .file(extensions: ["xcworkspace", "xcodeproj"]))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/xcode-selective-test/SelectiveTesting.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 3 | //
 4 |
 5 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 6 | import SelectiveTestingCore
 7 | import SelectiveTestLogger
   :
 9 | @main
10 | struct SelectiveTesting: AsyncParsableCommand {
11 |     static let configuration = CommandConfiguration(abstract: "Configure test plan to run only tests relevant for the changeset")
   |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     @Argument(help: "Project, workspace or package path", completion: .file(extensions: ["xcworkspace", "xcodeproj"]))
[236/239] Write Objects.LinkFileList
[237/239] Linking xcode-selective-test
[238/239] Applying xcode-selective-test
Build complete! (31.39s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.24.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.5",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "XcodeSelectiveTesting",
  "name" : "XcodeSelectiveTesting",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "xcode-selective-test",
      "targets" : [
        "xcode-selective-test"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XcodeSelectiveTest",
      "targets" : [
        "SelectiveTestingPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcode_selective_test",
      "module_type" : "SwiftTarget",
      "name" : "xcode-selective-test",
      "path" : "Sources/xcode-selective-test",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "SelectiveTesting.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestingCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Workspace",
      "module_type" : "SwiftTarget",
      "name" : "Workspace",
      "path" : "Sources/Workspace",
      "product_dependencies" : [
        "XcodeProj"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "DependencyGraph.swift",
        "Sequence+Extensions.swift",
        "Target.swift",
        "WorkspaceInfo.swift",
        "XCWorkspace+Projects.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestConfigurator",
      "module_type" : "SwiftTarget",
      "name" : "TestConfigurator",
      "path" : "Sources/TestConfigurator",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "TestConfigurator.swift",
        "xctestplanner/Core/Entity/TestPlanModel.swift",
        "xctestplanner/Core/Extensions/Array+Extensions.swift",
        "xctestplanner/Core/Helper/TestPlanHelper.swift"
      ],
      "target_dependencies" : [
        "Workspace",
        "SelectiveTestLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestingTests",
      "path" : "Tests/SelectiveTestingTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SelectiveTestingTests/ExampleProject",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "IntegrationTestTool.swift",
        "SelectiveTestingConfigTests.swift",
        "SelectiveTestingPackagesTests.swift",
        "SelectiveTestingPerformanceTests.swift",
        "SelectiveTestingProjectTests.swift",
        "SelectiveTestingWorkspaceTests.swift"
      ],
      "target_dependencies" : [
        "xcode-selective-test"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SelectiveTestingPlugin",
      "module_type" : "PluginTarget",
      "name" : "SelectiveTestingPlugin",
      "path" : "Plugins/SelectiveTestingPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Configure test plan for current changeset",
          "type" : "custom",
          "verb" : "xcode-selective-test"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Update test plan file",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "SelectiveTestingPlugin.swift"
      ],
      "target_dependencies" : [
        "xcode-selective-test"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "SelectiveTestingCore",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestingCore",
      "path" : "Sources/SelectiveTestingCore",
      "product_dependencies" : [
        "PathKit",
        "Rainbow",
        "Yams"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "Config.swift",
        "DependencyGraph+Visualization.swift",
        "SelectiveTestingTool.swift"
      ],
      "target_dependencies" : [
        "DependencyCalculator",
        "TestConfigurator",
        "Git"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestShell",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestShell",
      "path" : "Sources/SelectiveTestShell",
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "Shell.swift",
        "String+Error.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestLogger",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestLogger",
      "path" : "Sources/SelectiveTestLogger",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "Logger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Git",
      "module_type" : "SwiftTarget",
      "name" : "Git",
      "path" : "Sources/Git",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "Git+Changeset.swift",
        "Git.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestShell",
        "SelectiveTestLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DependencyCalculatorTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyCalculatorTests",
      "path" : "Tests/DependencyCalculatorTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DependencyCalculatorTests/ExamplePackages",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DependencyCalculatorTests.swift",
        "PackageMetadataTests.swift"
      ],
      "target_dependencies" : [
        "DependencyCalculator",
        "Workspace",
        "SelectiveTestingCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DependencyCalculator",
      "module_type" : "SwiftTarget",
      "name" : "DependencyCalculator",
      "path" : "Sources/DependencyCalculator",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "ConcurrentMap.swift",
        "DependencyCalculator.swift",
        "DependencyGraph.swift",
        "PackageMetadata.swift"
      ],
      "target_dependencies" : [
        "Workspace",
        "SelectiveTestLogger",
        "Git"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.