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

Failed to build swift-driver, reference main (1c07ce), with Swift 6.0 for Linux on 15 Sep 2024 10:47:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

169 |     guard let json = try? message.toJSON() else { return }
170 |     Driver.stdErrQueue.sync {
171 |       stderrStream.send(
    |       `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 |         """
173 |         \(json.count)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
829 |     filePointer: TSCLibc.stderr,
830 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:178:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
176 |         """
177 |       )
178 |       stderrStream.flush()
    |       `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
179 |     }
180 |   }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
829 |     filePointer: TSCLibc.stderr,
830 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 |     env: [String: String]
49 |   ) throws -> TSCBasic.Process {
50 |     let process = Process(arguments: arguments, environment: env)
   |                   |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
   |                   `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 |     try process.launch()
52 |     return process
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 |     inputFileHandle: FileHandle
59 |   ) throws -> TSCBasic.Process {
60 |     let process = Process(arguments: arguments, environment: env)
   |                   |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
   |                   `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 |     let processInputStream = try process.launch()
62 |     var input: Data
[401/424] Emitting module SwiftDriver
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ArgsResolver.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 17 | import struct TSCBasic.AbsolutePath
 18 |
 19 | @_implementationOnly import Yams
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 20 |
 21 | /// How the resolver is to handle usage of response files
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/BuildRecord.swift:17:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 15 | import struct TSCBasic.Diagnostic
 16 |
 17 | @_implementationOnly import Yams
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 18 |
 19 | /// Holds the info about inputs needed to plan incremenal compilation
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:60:10: warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  58 |     case integratedReplRemoved
  59 |     case cannotSpecify_OForMultipleOutputs
  60 |     case conflictingOptions(Option, Option)
     |          `- warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  61 |     case unableToLoadOutputFileMap(String, String)
  62 |     case unableToDecodeFrontendTargetInfo(String?, [String], String)
/host/spi-builder-workspace/Sources/SwiftOptions/Option.swift:37:15: note: struct 'Option' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Describes a command-line option.
 37 | public struct Option {
    |               `- note: struct 'Option' does not conform to the 'Sendable' protocol
 38 |   /// The kind of option we have, which determines how it will be parsed.
 39 |   public enum Kind: Hashable {
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftOptions'
  10 | //
  11 | //===----------------------------------------------------------------------===//
  12 | import SwiftOptions
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftOptions'
  13 |
  14 | import class Dispatch.DispatchQueue
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:60:10: warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  58 |     case integratedReplRemoved
  59 |     case cannotSpecify_OForMultipleOutputs
  60 |     case conflictingOptions(Option, Option)
     |          `- warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  61 |     case unableToLoadOutputFileMap(String, String)
  62 |     case unableToDecodeFrontendTargetInfo(String?, [String], String)
/host/spi-builder-workspace/Sources/SwiftOptions/Option.swift:37:15: note: struct 'Option' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Describes a command-line option.
 37 | public struct Option {
    |               `- note: struct 'Option' does not conform to the 'Sendable' protocol
 38 |   /// The kind of option we have, which determines how it will be parsed.
 39 |   public enum Kind: Hashable {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:525:21: warning: static property 'stderrDiagnosticsHandler' is not concurrency-safe because non-'Sendable' type 'DiagnosticsEngine.DiagnosticsHandler' (aka '(Diagnostic) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
 523 |
 524 |   /// Handler for emitting diagnostics to stderr.
 525 |   public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
     |                     |- warning: static property 'stderrDiagnosticsHandler' is not concurrency-safe because non-'Sendable' type 'DiagnosticsEngine.DiagnosticsHandler' (aka '(Diagnostic) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: annotate 'stderrDiagnosticsHandler' 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
 526 |     stdErrQueue.sync {
 527 |       let stream = stderrStream
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:527:20: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 525 |   public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
 526 |     stdErrQueue.sync {
 527 |       let stream = stderrStream
     |                    `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 528 |       if !(diagnostic.location is UnknownLocation) {
 529 |           stream.send("\(diagnostic.location.description): ")
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
829 |     filePointer: TSCLibc.stderr,
830 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:598:40: warning: 'vars' is deprecated: Use `block` instead
 596 |   public init(
 597 |     args: [String],
 598 |     env: [String: String] = ProcessEnv.vars,
     |                                        `- warning: 'vars' is deprecated: Use `block` instead
 599 |     diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
 600 |     fileSystem: FileSystem = localFileSystem,
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/OutputFileMap.swift:25:14: warning: static property 'singleInputKey' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | /// Mapping of input file paths to specific output files.
 24 | public struct OutputFileMap: Hashable, Codable {
 25 |   static let singleInputKey = try! VirtualPath.intern(path: ".")
    |              |- warning: static property 'singleInputKey' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'singleInputKey' 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
 26 |
 27 |   /// The known mapping from input file to specific output files.
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:325:17: note: consider making struct 'Handle' conform to the 'Sendable' protocol
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/OutputFileMap.swift:198:11: warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
196 |     private struct CodingKeys: CodingKey {
197 |
198 |       let fileType: FileType
    |           `- warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
199 |
200 |       init(fileType: FileType) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:17:13: note: consider making enum 'FileType' conform to the 'Sendable' protocol
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/BuildRecord.swift:71:10: warning: associated value 'malformed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BuildRecord.SectionName'; this is an error in the Swift 6 language mode
 42 |   }
 43 |
 44 |   public enum SectionName: String, CaseIterable {
    |               `- note: consider making enum 'SectionName' conform to the 'Sendable' protocol
 45 |     case swiftVersion = "version"
 46 |     case argsHash = "options"
    :
 69 |     case missingPriorBuildState
 70 |     case unexpectedKey(String)
 71 |     case malformed(SectionName)
    |          `- warning: associated value 'malformed' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BuildRecord.SectionName'; this is an error in the Swift 6 language mode
 72 |
 73 |     var reason: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:123:14: warning: static property 'remarkDisabled' is not concurrency-safe because non-'Sendable' type '(String) -> Diagnostic.Message' may have shared mutable state; this is an error in the Swift 6 language mode
121 |   }
122 |
123 |   static let remarkDisabled = Diagnostic.Message.remark_incremental_compilation_has_been_disabled
    |              |- warning: static property 'remarkDisabled' is not concurrency-safe because non-'Sendable' type '(String) -> Diagnostic.Message' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'remarkDisabled' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 |   static func remark_incremental_compilation_has_been_disabled(because why: String) -> Diagnostic.Message {
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:359:23: warning: static property 'alwaysRebuildDependents' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
347 |   /// Options that control the behavior of various aspects of the
348 |   /// incremental build.
349 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
350 |     public var rawValue: UInt8
351 |
    :
357 |     /// during the incremental build. Dependent files are always scheduled to
358 |     /// rebuild.
359 |     public static let alwaysRebuildDependents                = Options(rawValue: 1 << 0)
    |                       |- warning: static property 'alwaysRebuildDependents' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'alwaysRebuildDependents' 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
360 |     /// Print incremental build decisions as remarks.
361 |     public static let showIncremental                        = Options(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:361:23: warning: static property 'showIncremental' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
347 |   /// Options that control the behavior of various aspects of the
348 |   /// incremental build.
349 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
350 |     public var rawValue: UInt8
351 |
    :
359 |     public static let alwaysRebuildDependents                = Options(rawValue: 1 << 0)
360 |     /// Print incremental build decisions as remarks.
361 |     public static let showIncremental                        = Options(rawValue: 1 << 1)
    |                       |- warning: static property 'showIncremental' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'showIncremental' 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
362 |     /// After integrating each source file dependency graph into the driver's
363 |     /// module dependency graph, dump a dot file to the current working
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:367:23: warning: static property 'emitDependencyDotFileAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
347 |   /// Options that control the behavior of various aspects of the
348 |   /// incremental build.
349 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
350 |     public var rawValue: UInt8
351 |
    :
365 |     ///
366 |     /// FIXME: This option is not yet implemented.
367 |     public static let emitDependencyDotFileAfterEveryImport  = Options(rawValue: 1 << 2)
    |                       |- warning: static property 'emitDependencyDotFileAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'emitDependencyDotFileAfterEveryImport' 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
368 |     /// After integrating each source file dependency graph, verifies the
369 |     /// integrity of the driver's dependency graph and aborts if any errors
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:371:23: warning: static property 'verifyDependencyGraphAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
347 |   /// Options that control the behavior of various aspects of the
348 |   /// incremental build.
349 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
350 |     public var rawValue: UInt8
351 |
    :
369 |     /// integrity of the driver's dependency graph and aborts if any errors
370 |     /// are detected.
371 |     public static let verifyDependencyGraphAfterEveryImport  = Options(rawValue: 1 << 3)
    |                       |- warning: static property 'verifyDependencyGraphAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'verifyDependencyGraphAfterEveryImport' 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
372 |     /// Enables the cross-module incremental build infrastructure.
373 |     ///
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:376:23: warning: static property 'enableCrossModuleIncrementalBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
347 |   /// Options that control the behavior of various aspects of the
348 |   /// incremental build.
349 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
350 |     public var rawValue: UInt8
351 |
    :
374 |     /// FIXME: This option is transitory. We intend to make this the
375 |     /// default behavior. This option should flip to a "disable" bit after that.
376 |     public static let enableCrossModuleIncrementalBuild      = Options(rawValue: 1 << 4)
    |                       |- warning: static property 'enableCrossModuleIncrementalBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'enableCrossModuleIncrementalBuild' 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
377 |     /// Enables an optimized form of start-up for the incremental build state
378 |     /// that reads the dependency graph from a serialized format on disk instead
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:380:23: warning: static property 'readPriorsFromModuleDependencyGraph' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
347 |   /// Options that control the behavior of various aspects of the
348 |   /// incremental build.
349 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
350 |     public var rawValue: UInt8
351 |
    :
378 |     /// that reads the dependency graph from a serialized format on disk instead
379 |     /// of reading O(N) swiftdeps files.
380 |     public static let readPriorsFromModuleDependencyGraph    = Options(rawValue: 1 << 5)
    |                       |- warning: static property 'readPriorsFromModuleDependencyGraph' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'readPriorsFromModuleDependencyGraph' 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
381 |
382 |     /// Enables additional handling of explicit module build artifacts:
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:384:23: warning: static property 'explicitModuleBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
347 |   /// Options that control the behavior of various aspects of the
348 |   /// incremental build.
349 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
350 |     public var rawValue: UInt8
351 |
    :
382 |     /// Enables additional handling of explicit module build artifacts:
383 |     /// Additional reading and writing of the inter-module dependency graph.
384 |     public static let explicitModuleBuild                    = Options(rawValue: 1 << 6)
    |                       |- warning: static property 'explicitModuleBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'explicitModuleBuild' 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
385 |   }
386 | }
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:393:10: warning: associated value 'couldNotWrite(path:error:)' of 'Sendable'-conforming enum 'WriteDependencyGraphError' has non-sendable type 'VirtualPath'; this is an error in the Swift 6 language mode
391 |   enum WriteDependencyGraphError: LocalizedError {
392 |     case noBuildRecordInfo,
393 |          couldNotWrite(path: VirtualPath, error: Error)
    |          `- warning: associated value 'couldNotWrite(path:error:)' of 'Sendable'-conforming enum 'WriteDependencyGraphError' has non-sendable type 'VirtualPath'; this is an error in the Swift 6 language mode
394 |     var errorDescription: String? {
395 |       switch self {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:32:13: note: consider making enum 'VirtualPath' conform to the 'Sendable' protocol
 30 |
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
    |             `- note: consider making enum 'VirtualPath' conform to the 'Sendable' protocol
 33 |   private static var pathCache = PathCache()
 34 |
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraph.swift:636:36: warning: static property 'serializedGraphVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 634 |   /// - Minor number 3: Use interned strings, including for fingerprints and use empty dependency source file for no DependencySource
 635 |   /// - Minor number 4: Absorb the data in the ``BuildRecord`` into the module dependency graph.
 636 |   @_spi(Testing) public static let serializedGraphVersion = Version(1, 4, 0)
     |                                    |- warning: static property 'serializedGraphVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                    |- note: annotate 'serializedGraphVersion' 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
 637 |
 638 |   /// The IDs of the records used by the module dependency graph.
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Version.swift:55:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
 53 |
 54 | /// A representation of a semantic version.
 55 | public struct Version {
    |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 56 |   /// The major version number component.
 57 |   public let major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraph.swift:680:10: warning: associated value 'mismatchedSerializedGraphVersion(expected:read:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
 678 |     case noRecordBlock
 679 |     case malformedMetadataRecord
 680 |     case mismatchedSerializedGraphVersion(expected: Version, read: Version)
     |          `- warning: associated value 'mismatchedSerializedGraphVersion(expected:read:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
 681 |     case unexpectedMetadataRecord
 682 |     case unexpectedBuildRecord
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Version.swift:55:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
 53 |
 54 | /// A representation of a semantic version.
 55 | public struct Version {
    |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 56 |   /// The major version number component.
 57 |   public let major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraph.swift:680:10: warning: associated value 'mismatchedSerializedGraphVersion(expected:read:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
 678 |     case noRecordBlock
 679 |     case malformedMetadataRecord
 680 |     case mismatchedSerializedGraphVersion(expected: Version, read: Version)
     |          `- warning: associated value 'mismatchedSerializedGraphVersion(expected:read:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
 681 |     case unexpectedMetadataRecord
 682 |     case unexpectedBuildRecord
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Version.swift:55:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
 53 |
 54 | /// A representation of a semantic version.
 55 | public struct Version {
    |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
 56 |   /// The major version number component.
 57 |   public let major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Jobs/Job.swift:144:10: warning: associated value 'inputUnexpectedlyModified' of 'Sendable'-conforming enum 'InputError' has non-sendable type 'TypedVirtualPath'; this is an error in the Swift 6 language mode
142 | extension Job {
143 |   public enum InputError: Error, Equatable, DiagnosticData {
144 |     case inputUnexpectedlyModified(TypedVirtualPath)
    |          `- warning: associated value 'inputUnexpectedlyModified' of 'Sendable'-conforming enum 'InputError' has non-sendable type 'TypedVirtualPath'; this is an error in the Swift 6 language mode
145 |
146 |     public var description: String {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/TypedVirtualPath.swift:13:15: note: consider making struct 'TypedVirtualPath' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 | /// A path for which the type of the input is known.
13 | public struct TypedVirtualPath: Hashable, Codable {
   |               `- note: consider making struct 'TypedVirtualPath' conform to the 'Sendable' protocol
14 |   /// The file this input refers to.
15 |   public let fileHandle: VirtualPath.Handle
/host/spi-builder-workspace/Sources/SwiftDriver/Jobs/Planning.swift:86:36: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  84 |   }
  85 |
  86 |   @_spi(Testing) public static var none = JobsInPhases(beforeCompiles: [],
     |                                    |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                                    |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
     |                                    |- note: annotate 'none' 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
  87 |                                  compileGroups: [],
  88 |                                  afterCompiles: [])
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:164:10: warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
162 |
163 |   public enum ToolchainValidationError: Error, DiagnosticData {
164 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
    |          `- warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
165 |     case argumentNotSupported(String)
166 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:21:13: note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 19 | /// `Triple.version(for:)` retrieves a version based on the
 20 | /// corresponding `DarwinPlatform`.
 21 | public enum DarwinPlatform: Hashable {
    |             `- note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 22 |   /// macOS, corresponding to the `macosx`, `macos`, and `darwin` OS names.
 23 |   case macOS
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:164:10: warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
162 |
163 |   public enum ToolchainValidationError: Error, DiagnosticData {
164 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
    |          `- warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
165 |     case argumentNotSupported(String)
166 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:63:17: note: consider making struct 'Version' conform to the 'Sendable' protocol
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
  65 |
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:166:10: warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
164 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
165 |     case argumentNotSupported(String)
166 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
    |          `- warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
167 |     case unsupportedTargetVariant(variant: Triple)
168 |     case darwinOnlySupportsLibCxx
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:21:13: note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 19 | /// `Triple.version(for:)` retrieves a version based on the
 20 | /// corresponding `DarwinPlatform`.
 21 | public enum DarwinPlatform: Hashable {
    |             `- note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 22 |   /// macOS, corresponding to the `macosx`, `macos`, and `darwin` OS names.
 23 |   case macOS
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:166:10: warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
164 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
165 |     case argumentNotSupported(String)
166 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
    |          `- warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
167 |     case unsupportedTargetVariant(variant: Triple)
168 |     case darwinOnlySupportsLibCxx
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:63:17: note: consider making struct 'Version' conform to the 'Sendable' protocol
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
  65 |
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:167:10: warning: associated value 'unsupportedTargetVariant(variant:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple'; this is an error in the Swift 6 language mode
165 |     case argumentNotSupported(String)
166 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
167 |     case unsupportedTargetVariant(variant: Triple)
    |          `- warning: associated value 'unsupportedTargetVariant(variant:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple'; this is an error in the Swift 6 language mode
168 |     case darwinOnlySupportsLibCxx
169 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:35:15: note: consider making struct 'Triple' conform to the 'Sendable' protocol
  33 | /// This is a port of https://github.com/apple/swift-llvm/blob/stable/include/llvm/ADT/Triple.h
  34 | @dynamicMemberLookup
  35 | public struct Triple {
     |               `- note: consider making struct 'Triple' conform to the 'Sendable' protocol
  36 |   /// `Triple` proxies predicates from `Triple.OS`, returning `false` for an unknown OS.
  37 |   public subscript(dynamicMember predicate: KeyPath<OS, Bool>) -> Bool {
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/WindowsToolchain.swift:23:10: warning: associated value 'unsupportedSanitizer' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Sanitizer'; this is an error in the Swift 6 language mode
 21 | extension WindowsToolchain {
 22 |   public enum ToolchainValidationError: Error, DiagnosticData {
 23 |     case unsupportedSanitizer(Sanitizer)
    |          `- warning: associated value 'unsupportedSanitizer' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Sanitizer'; this is an error in the Swift 6 language mode
 24 |   }
 25 | }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Sanitizer.swift:15:13: note: consider making enum 'Sanitizer' conform to the 'Sendable' protocol
13 | /// Defines a sanitizer that can be used to instrument the resulting product of
14 | /// this build.
15 | public enum Sanitizer: String, Hashable {
   |             `- note: consider making enum 'Sanitizer' conform to the 'Sendable' protocol
16 |   /// Address sanitizer (ASan)
17 |   case address
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[402/424] Compiling SwiftDriver Diagnostics.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[403/424] Compiling SwiftDriver FileList.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[404/424] Compiling SwiftDriver FileType.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[405/424] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[406/424] Compiling SwiftDriver RelativePathAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[407/424] Compiling SwiftDriver Sanitizer.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[408/424] Compiling SwiftDriver StringAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[409/424] Compiling SwiftDriver System.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[410/424] Compiling SwiftDriver Triple+Platforms.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[411/424] Compiling SwiftDriver Triple.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[412/424] Compiling SwiftDriver TypedVirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[413/424] Compiling SwiftDriver Version.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[414/424] Compiling SwiftDriver VirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
294 | extension FileType {
295 |
296 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' 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
297 |
298 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' 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
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' 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
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' 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
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' 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
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' 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
333 |     public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' 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
334 | #if os(Windows)
335 |     public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
335 |     public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 |     public static let null = try! VirtualPath(path: "/dev/null").intern()
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' 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
338 | #endif
339 |   }
[415/425] Wrapping AST for SwiftDriver for debugging
[416/425] Write Objects.LinkFileList
[417/429] Linking libSwiftDriverDynamic.so
[419/429] Compiling SwiftDriverExecution llbuild.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 22 | // We either import the llbuildSwift shared library or the llbuild framework.
 23 | #if canImport(llbuildSwift)
 24 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 25 | @_implementationOnly import llbuild
 26 | #else
[420/429] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 24 | public final class SwiftDriverExecutor: DriverExecutor {
 25 |   let diagnosticsEngine: DiagnosticsEngine
 26 |   let processSet: ProcessSet
    |                   `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 27 |   let fileSystem: FileSystem
 28 |   public let resolver: ArgsResolver
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 30 |
 31 |   public init(diagnosticsEngine: DiagnosticsEngine,
 32 |               processSet: ProcessSet,
    |                           `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 33 |               fileSystem: FileSystem,
 34 |               env: [String: String]) throws {
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
 90 |
 91 |   @discardableResult
 92 |   public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
    |                                                                                            `- warning: 'vars' is deprecated: Use `block` instead
 93 |     return try Process.checkNonZeroExit(arguments: args, environment: environment)
 94 |   }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:93:24: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
 91 |   @discardableResult
 92 |   public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
 93 |     return try Process.checkNonZeroExit(arguments: args, environment: environment)
    |                        |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
    |                        `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
 94 |   }
 95 |
[421/429] Compiling SwiftDriverExecution MultiJobExecutor.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 31 | // We either import the llbuildSwift shared library or the llbuild framework.
 32 | #if canImport(llbuildSwift)
 33 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 34 | @_implementationOnly import llbuild
 35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 80 |
 81 |     /// The process set to use when launching new processes.
 82 |     let processSet: ProcessSet?
    |                     `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 83 |
 84 |     /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 |       executorDelegate: JobExecutionDelegate,
112 |       jobQueue: OperationQueue,
113 |       processSet: ProcessSet?,
    |                   `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 |       forceResponseFiles: Bool,
115 |       recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 |   /// The process set to use when launching new processes.
257 |   private let processSet: ProcessSet?
    |                           `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 |   /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 |     diagnosticsEngine: DiagnosticsEngine,
279 |     numParallelJobs: Int? = nil,
280 |     processSet: ProcessSet? = nil,
    |                 `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 |     forceResponseFiles: Bool = false,
282 |     recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:7: warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
508 | }
509 | /// A rule for a single compiler invocation.
510 | class ExecuteJobRule: LLBuildRule {
    |       `- note: class 'ExecuteJobRule' does not conform to the 'Sendable' protocol
511 |   struct RuleKey: LLBuildKey {
512 |     typealias BuildValue = DriverBuildValue
    :
559 |     // is we should call it after inputsAvailable is called.
560 |     context.jobQueue.addOperation {
561 |       self.executeJob(engine)
    |       `- warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 |     }
563 |   }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:23: warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
559 |     // is we should call it after inputsAvailable is called.
560 |     context.jobQueue.addOperation {
561 |       self.executeJob(engine)
    |                       `- warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 |     }
563 |   }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:117:7: note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
115 |
116 | // FIXME: Rename to something else.
117 | class LLTaskBuildEngine {
    |       `- note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
118 |
119 |   let engine: TaskBuildEngine
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:661:24: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
659 |       if (pendingFinish) {
660 |         context.delegateQueue.sync {
661 |           let result = ProcessResult(
    |                        `- warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
662 |             arguments: [],
663 |             environment: env,
[422/429] Emitting module SwiftDriverExecution
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 31 | // We either import the llbuildSwift shared library or the llbuild framework.
 32 | #if canImport(llbuildSwift)
 33 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 34 | @_implementationOnly import llbuild
 35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 22 | // We either import the llbuildSwift shared library or the llbuild framework.
 23 | #if canImport(llbuildSwift)
 24 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 25 | @_implementationOnly import llbuild
 26 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 80 |
 81 |     /// The process set to use when launching new processes.
 82 |     let processSet: ProcessSet?
    |                     `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 83 |
 84 |     /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 |       executorDelegate: JobExecutionDelegate,
112 |       jobQueue: OperationQueue,
113 |       processSet: ProcessSet?,
    |                   `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 |       forceResponseFiles: Bool,
115 |       recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 |   /// The process set to use when launching new processes.
257 |   private let processSet: ProcessSet?
    |                           `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 |   /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 |     diagnosticsEngine: DiagnosticsEngine,
279 |     numParallelJobs: Int? = nil,
280 |     processSet: ProcessSet? = nil,
    |                 `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 |     forceResponseFiles: Bool = false,
282 |     recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 24 | public final class SwiftDriverExecutor: DriverExecutor {
 25 |   let diagnosticsEngine: DiagnosticsEngine
 26 |   let processSet: ProcessSet
    |                   `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 27 |   let fileSystem: FileSystem
 28 |   public let resolver: ArgsResolver
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 30 |
 31 |   public init(diagnosticsEngine: DiagnosticsEngine,
 32 |               processSet: ProcessSet,
    |                           `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 33 |               fileSystem: FileSystem,
 34 |               env: [String: String]) throws {
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
 90 |
 91 |   @discardableResult
 92 |   public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
    |                                                                                            `- warning: 'vars' is deprecated: Use `block` instead
 93 |     return try Process.checkNonZeroExit(arguments: args, environment: environment)
 94 |   }
[423/431] Wrapping AST for SwiftDriverExecution for debugging
[425/440] Compiling TestUtilities Fixture.swift
[426/440] Compiling swift_driver main.swift
/host/spi-builder-workspace/Sources/swift-driver/main.swift:60:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 58 |   signal(SIGINT, SIG_IGN)
 59 |   #endif
 60 |   let processSet = ProcessSet()
    |                    `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 61 |   interruptSignalSource.setEventHandler {
 62 |     // Terminate running compiler jobs and let the driver exit gracefully, remembering
/host/spi-builder-workspace/Sources/swift-driver/main.swift:71:17: warning: 'vars' is deprecated: Use `block` instead
 69 |   // Fallback to legacy driver if forced to
 70 |   if CommandLine.arguments.contains(Option.disallowForwardingDriver.spelling) ||
 71 |      ProcessEnv.vars["SWIFT_USE_OLD_DRIVER"] != nil {
    |                 `- warning: 'vars' is deprecated: Use `block` instead
 72 |     if let legacyExecutablePath = Process.findExecutable(CommandLine.arguments[0] + "-legacy-driver"),
 73 |        localFileSystem.exists(legacyExecutablePath) {
/host/spi-builder-workspace/Sources/swift-driver/main.swift:82:17: warning: 'vars' is deprecated: Use `block` instead
 80 |   }
 81 |
 82 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
    |                 `- warning: 'vars' is deprecated: Use `block` instead
 83 |     CommandLine.arguments.append("-explicit-module-build")
 84 |   }
/host/spi-builder-workspace/Sources/swift-driver/main.swift:83:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 81 |
 82 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
 83 |     CommandLine.arguments.append("-explicit-module-build")
    |     `- warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 84 |   }
 85 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:110:58: warning: 'vars' is deprecated: Use `block` instead
108 |                                          processSet: processSet,
109 |                                          fileSystem: localFileSystem,
110 |                                          env: ProcessEnv.vars)
    |                                                          `- warning: 'vars' is deprecated: Use `block` instead
111 |   var driver = try Driver(args: arguments,
112 |                           diagnosticsOutput: .engine(diagnosticsEngine),
/host/spi-builder-workspace/Sources/swift-driver/main.swift:43:6: error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
 39 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
 40 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
 41 | var driverInterrupted = false
    |     `- note: var declared here
 42 | func getExitCode(_ code: Int32) -> Int32 {
    |      `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
 43 |   if driverInterrupted {
    |      `- error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
 44 |     interruptSignalSource.cancel()
 45 | #if os(Windows)
/host/spi-builder-workspace/Sources/swift-driver/main.swift:44:5: warning: main actor-isolated let 'interruptSignalSource' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 37 | import var TSCBasic.localFileSystem
 38 |
 39 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
    |     `- note: let declared here
 40 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
 41 | var driverInterrupted = false
 42 | func getExitCode(_ code: Int32) -> Int32 {
    |      `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
 43 |   if driverInterrupted {
 44 |     interruptSignalSource.cancel()
    |     `- warning: main actor-isolated let 'interruptSignalSource' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 45 | #if os(Windows)
 46 |     TerminateProcess(GetCurrentProcess(), UINT(0xC0000000 | UINT(2)))
[427/440] Compiling TestUtilities PathExtensions.swift
[428/440] Emitting module TestUtilities
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
 21 |   public init(
 22 |     args: [String],
 23 |     env: [String: String] = ProcessEnv.vars,
    |                                        `- warning: 'vars' is deprecated: Use `block` instead
 24 |     diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
 25 |     fileSystem: FileSystem = localFileSystem,
[429/440] Compiling TestUtilities DriverExtensions.swift
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
 21 |   public init(
 22 |     args: [String],
 23 |     env: [String: String] = ProcessEnv.vars,
    |                                        `- warning: 'vars' is deprecated: Use `block` instead
 24 |     diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
 25 |     fileSystem: FileSystem = localFileSystem,
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:30:52: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 28 |   ) throws {
 29 |     let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
 30 |                                        processSet: ProcessSet(),
    |                                                    `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 31 |                                        fileSystem: fileSystem,
 32 |                                        env: env)
[430/440] Compiling TestUtilities OutputFileMapCreator.swift
[431/440] Emitting module swift_driver
/host/spi-builder-workspace/Sources/swift-driver/main.swift:60:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 58 |   signal(SIGINT, SIG_IGN)
 59 |   #endif
 60 |   let processSet = ProcessSet()
    |                    `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
 61 |   interruptSignalSource.setEventHandler {
 62 |     // Terminate running compiler jobs and let the driver exit gracefully, remembering
/host/spi-builder-workspace/Sources/swift-driver/main.swift:71:17: warning: 'vars' is deprecated: Use `block` instead
 69 |   // Fallback to legacy driver if forced to
 70 |   if CommandLine.arguments.contains(Option.disallowForwardingDriver.spelling) ||
 71 |      ProcessEnv.vars["SWIFT_USE_OLD_DRIVER"] != nil {
    |                 `- warning: 'vars' is deprecated: Use `block` instead
 72 |     if let legacyExecutablePath = Process.findExecutable(CommandLine.arguments[0] + "-legacy-driver"),
 73 |        localFileSystem.exists(legacyExecutablePath) {
/host/spi-builder-workspace/Sources/swift-driver/main.swift:82:17: warning: 'vars' is deprecated: Use `block` instead
 80 |   }
 81 |
 82 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
    |                 `- warning: 'vars' is deprecated: Use `block` instead
 83 |     CommandLine.arguments.append("-explicit-module-build")
 84 |   }
/host/spi-builder-workspace/Sources/swift-driver/main.swift:83:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 81 |
 82 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
 83 |     CommandLine.arguments.append("-explicit-module-build")
    |     `- warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 84 |   }
 85 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:110:58: warning: 'vars' is deprecated: Use `block` instead
108 |                                          processSet: processSet,
109 |                                          fileSystem: localFileSystem,
110 |                                          env: ProcessEnv.vars)
    |                                                          `- warning: 'vars' is deprecated: Use `block` instead
111 |   var driver = try Driver(args: arguments,
112 |                           diagnosticsOutput: .engine(diagnosticsEngine),
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:93:34: warning: 'vars' is deprecated: Use `block` instead
 91 |     try localFileSystem.createDirectory(outputDir, recursive: true)
 92 |   }
 93 |   let swiftcPathRaw = ProcessEnv.vars["SWIFT_EXEC"]
    |                                  `- warning: 'vars' is deprecated: Use `block` instead
 94 |   var swiftcPath: AbsolutePath
 95 |   if let swiftcPathRaw = swiftcPathRaw {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:127:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
125 |                               .appending(component: "SystemVersion.plist"),
126 |                            to: sysVersionFile)
127 |   let processSet = ProcessSet()
    |                    `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
128 |   let inputTuple = try collector.collectSwiftInterfaceMap()
129 |   let allAdopters = inputTuple.adopters
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:144:60: warning: 'vars' is deprecated: Use `block` instead
142 |                                            processSet: processSet,
143 |                                            fileSystem: localFileSystem,
144 |                                            env: ProcessEnv.vars)
    |                                                            `- warning: 'vars' is deprecated: Use `block` instead
145 |     var args = ["swiftc",
146 |                 "-target", collector.targetTriple,
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:170:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 |     if verbose {
169 |       Driver.stdErrQueue.sync {
170 |         stderrStream.send("job count: \(jobs.count + danglingJobs.count)\n")
    |         `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 |         stderrStream.flush()
172 |       }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
829 |     filePointer: TSCLibc.stderr,
830 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:171:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 |       Driver.stdErrQueue.sync {
170 |         stderrStream.send("job count: \(jobs.count + danglingJobs.count)\n")
171 |         stderrStream.flush()
    |         `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 |       }
173 |     }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
829 |     filePointer: TSCLibc.stderr,
830 |     closeOnDeinit: false))
BUILD FAILURE 6.0 linux