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 (7a96ff), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:06:15 UTC.

Build Command

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

Build Log

    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:172: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
170 |       stderrStream <<< json.count <<< "\n"
171 |       stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 |       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
173 |     }
174 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/DriverExecutor.swift:82:8: warning: associated value 'decodingError' of 'Sendable'-conforming enum 'JobExecutionError' has non-sendable type 'ProcessResult'; this is an error in the Swift 6 language mode
 80 |   case failedToReadJobOutput
 81 |   // A way to pass more information to the catch point
 82 |   case decodingError(DecodingError, Data, ProcessResult)
    |        `- warning: associated value 'decodingError' of 'Sendable'-conforming enum 'JobExecutionError' has non-sendable type 'ProcessResult'; this is an error in the Swift 6 language mode
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:25:15: note: struct 'ProcessResult' does not conform to the 'Sendable' protocol
  23 |
  24 | /// Process result data which is available after process termination.
  25 | public struct ProcessResult: CustomStringConvertible {
     |               `- note: struct 'ProcessResult' does not conform to the 'Sendable' protocol
  26 |
  27 |     public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/DriverExecutor.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import struct TSCBasic.ProcessResult
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 14 |
 15 | import struct Foundation.Data
[415/434] Compiling SwiftDriver ArgsResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ArgsResolver.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 18 | import struct TSCBasic.AbsolutePath
 19 |
 20 | @_implementationOnly import Yams
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 21 |
 22 | /// How the resolver is to handle usage of response files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:59: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
  57 |     case integratedReplRemoved
  58 |     case cannotSpecify_OForMultipleOutputs
  59 |     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
  60 |     case unableToLoadOutputFileMap(String, String)
  61 |     case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
 33 |
 34 | /// Describes a command-line option.
 35 | public struct Option {
    |               `- note: struct 'Option' does not conform to the 'Sendable' protocol
 36 |   /// The kind of option we have, which determines how it will be parsed.
 37 |   public enum Kind: Hashable {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:59: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
  57 |     case integratedReplRemoved
  58 |     case cannotSpecify_OForMultipleOutputs
  59 |     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
  60 |     case unableToLoadOutputFileMap(String, String)
  61 |     case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
 33 |
 34 | /// Describes a command-line option.
 35 | public struct Option {
    |               `- note: struct 'Option' does not conform to the 'Sendable' protocol
 36 |   /// The kind of option we have, which determines how it will be parsed.
 37 |   public enum Kind: Hashable {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:436: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
 434 |
 435 |   /// Handler for emitting diagnostics to stderr.
 436 |   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
 437 |     stdErrQueue.sync {
 438 |       let stream = stderrStream
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:438: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
 436 |   public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
 437 |     stdErrQueue.sync {
 438 |       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
 439 |       if !(diagnostic.location is UnknownLocation) {
 440 |           stream <<< diagnostic.location.description <<< ": "
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:466:30: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 464 |     env: [String: String] = ProcessEnv.vars,
 465 |     diagnosticsEngine: DiagnosticsEngine,
 466 |     fileSystem: FileSystem = localFileSystem,
     |                              `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 467 |     executor: DriverExecutor,
 468 |     integratedDriver: Bool = true,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:511:30: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 509 |     env: [String: String] = ProcessEnv.vars,
 510 |     diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
 511 |     fileSystem: FileSystem = localFileSystem,
     |                              `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 512 |     executor: DriverExecutor,
 513 |     integratedDriver: Bool = true,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1342:39: 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
1340 |   ) throws {
1341 |     if parsedOptions.hasArgument(.v) {
1342 |       try printVersion(outputStream: &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
1343 |     }
1344 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1357: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
1355 |     if parsedOptions.contains(.driverPrintOutputFileMap) {
1356 |       if let outputFileMap = self.outputFileMap {
1357 |         stderrStream <<< outputFileMap.description
     |         `- 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
1358 |         stderrStream.flush()
1359 |       } else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1358: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
1356 |       if let outputFileMap = self.outputFileMap {
1357 |         stderrStream <<< outputFileMap.description
1358 |         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
1359 |       } else {
1360 |         diagnosticEngine.emit(.error_no_output_file_map_specified)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1382:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1380 |     if parsedOptions.contains(.driverPrintGraphviz) {
1381 |       var serializer = DOTJobGraphSerializer(jobs: jobs)
1382 |       serializer.writeDOT(to: &stdoutStream)
     |                                `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1383 |       stdoutStream.flush()
1384 |       return
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1383:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1381 |       var serializer = DOTJobGraphSerializer(jobs: jobs)
1382 |       serializer.writeDOT(to: &stdoutStream)
1383 |       stdoutStream.flush()
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1384 |       return
1385 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1434: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
1432 |       // versions.
1433 |       if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1434 |         stderrStream <<< "swift-driver version: " <<< Driver.driverSourceVersion <<< " "
     |         `- 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
1435 |         stderrStream.flush()
1436 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1435: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
1433 |       if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1434 |         stderrStream <<< "swift-driver version: " <<< Driver.driverSourceVersion <<< " "
1435 |         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
1436 |       }
1437 |       // In verbose mode, print out the job
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1441:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1439 |         let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1440 |                                                                             useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1441 |         stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1442 |         stdoutStream.flush()
1443 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1442:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1440 |                                                                             useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1441 |         stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
1442 |         stdoutStream.flush()
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1443 |       }
1444 |       try executor.execute(job: inPlaceJob,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1564:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1562 |
1563 |   private func printBindings(_ job: Job) {
1564 |     stdoutStream <<< #"# ""# <<< targetTriple.triple
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
1566 |     stdoutStream <<< #"", inputs: ["#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1565:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1563 |   private func printBindings(_ job: Job) {
1564 |     stdoutStream <<< #"# ""# <<< targetTriple.triple
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1566 |     stdoutStream <<< #"", inputs: ["#
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1566:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1564 |     stdoutStream <<< #"# ""# <<< targetTriple.triple
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
1566 |     stdoutStream <<< #"", inputs: ["#
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1568 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1567:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
1566 |     stdoutStream <<< #"", inputs: ["#
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1568 |
1569 |     stdoutStream <<< "], output: {"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1569:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1568 |
1569 |     stdoutStream <<< "], output: {"
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1570 |
1571 |     stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1571:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1569 |     stdoutStream <<< "], output: {"
1570 |
1571 |     stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1572 |
1573 |     stdoutStream <<< "}"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1573:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1571 |     stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
1572 |
1573 |     stdoutStream <<< "}"
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1574 |     stdoutStream <<< "\n"
1575 |     stdoutStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1574:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1572 |
1573 |     stdoutStream <<< "}"
1574 |     stdoutStream <<< "\n"
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1575 |     stdoutStream.flush()
1576 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1575:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1573 |     stdoutStream <<< "}"
1574 |     stdoutStream <<< "\n"
1575 |     stdoutStream.flush()
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1576 |   }
1577 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1585:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1583 |   private func printActions(_ jobs: [Job]) {
1584 |     defer {
1585 |       stdoutStream.flush()
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1586 |     }
1587 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1645:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1643 |
1644 |       // Print current Job
1645 |       stdoutStream <<< nextId <<< ": " <<< job.kind.rawValue <<< ", {"
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1646 |       switch job.kind {
1647 |       // Don't sort for compile jobs. Puts pch last
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1649:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1647 |       // Don't sort for compile jobs. Puts pch last
1648 |       case .compile:
1649 |         stdoutStream <<< inputIds.map(\.description).joined(separator: ", ")
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1650 |       default:
1651 |         stdoutStream <<< inputIds.sorted().map(\.description).joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1651:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1649 |         stdoutStream <<< inputIds.map(\.description).joined(separator: ", ")
1650 |       default:
1651 |         stdoutStream <<< inputIds.sorted().map(\.description).joined(separator: ", ")
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1652 |       }
1653 |       var typeName = job.outputs.first?.type.name
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1657:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1655 |         typeName = "none"
1656 |       }
1657 |       stdoutStream <<< "}, " <<< typeName! <<< "\n"
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1658 |       jobIdMap[job] = nextId
1659 |       nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1665:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1663 |   private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1664 |     if inputIdMap[input] == nil {
1665 |       stdoutStream <<< nextId <<< ": " <<< "input, "
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1666 |       stdoutStream <<< "\"" <<< input.file <<< "\", " <<< input.type <<< "\n"
1667 |       inputIdMap[input] = nextId
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1666:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1664 |     if inputIdMap[input] == nil {
1665 |       stdoutStream <<< nextId <<< ": " <<< "input, "
1666 |       stdoutStream <<< "\"" <<< input.file <<< "\", " <<< input.type <<< "\n"
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1667 |       inputIdMap[input] = nextId
1668 |       nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/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 |   }
335 |
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:80:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |       break
 79 |     case .verbose:
 80 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |       stdoutStream.flush()
 82 |     case .parsableOutput:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:81:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |     case .verbose:
 80 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
 81 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |     case .parsableOutput:
 83 |       let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:115:11: 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
113 |       if !output.isEmpty {
114 |         Driver.stdErrQueue.sync {
115 |           stderrStream <<< output
    |           `- 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
116 |           stderrStream.flush()
117 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:116:11: 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
114 |         Driver.stdErrQueue.sync {
115 |           stderrStream <<< output
116 |           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
117 |         }
118 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:170: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
168 |     guard let json = try? message.toJSON() else { return }
169 |     Driver.stdErrQueue.sync {
170 |       stderrStream <<< json.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 <<< String(data: json, encoding: .utf8)! <<< "\n"
172 |       stderrStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171: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
169 |     Driver.stdErrQueue.sync {
170 |       stderrStream <<< json.count <<< "\n"
171 |       stderrStream <<< String(data: json, encoding: .utf8)! <<< "\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
172 |       stderrStream.flush()
173 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:172: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
170 |       stderrStream <<< json.count <<< "\n"
171 |       stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 |       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
173 |     }
174 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/DriverExecutor.swift:82:8: warning: associated value 'decodingError' of 'Sendable'-conforming enum 'JobExecutionError' has non-sendable type 'ProcessResult'; this is an error in the Swift 6 language mode
 80 |   case failedToReadJobOutput
 81 |   // A way to pass more information to the catch point
 82 |   case decodingError(DecodingError, Data, ProcessResult)
    |        `- warning: associated value 'decodingError' of 'Sendable'-conforming enum 'JobExecutionError' has non-sendable type 'ProcessResult'; this is an error in the Swift 6 language mode
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:25:15: note: struct 'ProcessResult' does not conform to the 'Sendable' protocol
  23 |
  24 | /// Process result data which is available after process termination.
  25 | public struct ProcessResult: CustomStringConvertible {
     |               `- note: struct 'ProcessResult' does not conform to the 'Sendable' protocol
  26 |
  27 |     public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/DriverExecutor.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import struct TSCBasic.ProcessResult
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 14 |
 15 | import struct Foundation.Data
[416/434] Compiling SwiftDriver DriverExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ArgsResolver.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 18 | import struct TSCBasic.AbsolutePath
 19 |
 20 | @_implementationOnly import Yams
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
 21 |
 22 | /// How the resolver is to handle usage of response files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:59: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
  57 |     case integratedReplRemoved
  58 |     case cannotSpecify_OForMultipleOutputs
  59 |     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
  60 |     case unableToLoadOutputFileMap(String, String)
  61 |     case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
 33 |
 34 | /// Describes a command-line option.
 35 | public struct Option {
    |               `- note: struct 'Option' does not conform to the 'Sendable' protocol
 36 |   /// The kind of option we have, which determines how it will be parsed.
 37 |   public enum Kind: Hashable {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:59: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
  57 |     case integratedReplRemoved
  58 |     case cannotSpecify_OForMultipleOutputs
  59 |     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
  60 |     case unableToLoadOutputFileMap(String, String)
  61 |     case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
 33 |
 34 | /// Describes a command-line option.
 35 | public struct Option {
    |               `- note: struct 'Option' does not conform to the 'Sendable' protocol
 36 |   /// The kind of option we have, which determines how it will be parsed.
 37 |   public enum Kind: Hashable {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:436: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
 434 |
 435 |   /// Handler for emitting diagnostics to stderr.
 436 |   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
 437 |     stdErrQueue.sync {
 438 |       let stream = stderrStream
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:438: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
 436 |   public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
 437 |     stdErrQueue.sync {
 438 |       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
 439 |       if !(diagnostic.location is UnknownLocation) {
 440 |           stream <<< diagnostic.location.description <<< ": "
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:466:30: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 464 |     env: [String: String] = ProcessEnv.vars,
 465 |     diagnosticsEngine: DiagnosticsEngine,
 466 |     fileSystem: FileSystem = localFileSystem,
     |                              `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 467 |     executor: DriverExecutor,
 468 |     integratedDriver: Bool = true,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:511:30: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 509 |     env: [String: String] = ProcessEnv.vars,
 510 |     diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
 511 |     fileSystem: FileSystem = localFileSystem,
     |                              `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 512 |     executor: DriverExecutor,
 513 |     integratedDriver: Bool = true,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1342:39: 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
1340 |   ) throws {
1341 |     if parsedOptions.hasArgument(.v) {
1342 |       try printVersion(outputStream: &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
1343 |     }
1344 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1357: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
1355 |     if parsedOptions.contains(.driverPrintOutputFileMap) {
1356 |       if let outputFileMap = self.outputFileMap {
1357 |         stderrStream <<< outputFileMap.description
     |         `- 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
1358 |         stderrStream.flush()
1359 |       } else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1358: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
1356 |       if let outputFileMap = self.outputFileMap {
1357 |         stderrStream <<< outputFileMap.description
1358 |         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
1359 |       } else {
1360 |         diagnosticEngine.emit(.error_no_output_file_map_specified)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1382:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1380 |     if parsedOptions.contains(.driverPrintGraphviz) {
1381 |       var serializer = DOTJobGraphSerializer(jobs: jobs)
1382 |       serializer.writeDOT(to: &stdoutStream)
     |                                `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1383 |       stdoutStream.flush()
1384 |       return
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1383:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1381 |       var serializer = DOTJobGraphSerializer(jobs: jobs)
1382 |       serializer.writeDOT(to: &stdoutStream)
1383 |       stdoutStream.flush()
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1384 |       return
1385 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1434: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
1432 |       // versions.
1433 |       if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1434 |         stderrStream <<< "swift-driver version: " <<< Driver.driverSourceVersion <<< " "
     |         `- 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
1435 |         stderrStream.flush()
1436 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1435: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
1433 |       if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1434 |         stderrStream <<< "swift-driver version: " <<< Driver.driverSourceVersion <<< " "
1435 |         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
1436 |       }
1437 |       // In verbose mode, print out the job
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1441:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1439 |         let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1440 |                                                                             useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1441 |         stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1442 |         stdoutStream.flush()
1443 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1442:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1440 |                                                                             useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1441 |         stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
1442 |         stdoutStream.flush()
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1443 |       }
1444 |       try executor.execute(job: inPlaceJob,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1564:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1562 |
1563 |   private func printBindings(_ job: Job) {
1564 |     stdoutStream <<< #"# ""# <<< targetTriple.triple
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
1566 |     stdoutStream <<< #"", inputs: ["#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1565:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1563 |   private func printBindings(_ job: Job) {
1564 |     stdoutStream <<< #"# ""# <<< targetTriple.triple
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1566 |     stdoutStream <<< #"", inputs: ["#
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1566:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1564 |     stdoutStream <<< #"# ""# <<< targetTriple.triple
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
1566 |     stdoutStream <<< #"", inputs: ["#
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1568 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1567:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1565 |     stdoutStream <<< #"" - ""# <<< job.tool.basename
1566 |     stdoutStream <<< #"", inputs: ["#
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1568 |
1569 |     stdoutStream <<< "], output: {"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1569:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1567 |     stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1568 |
1569 |     stdoutStream <<< "], output: {"
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1570 |
1571 |     stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1571:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1569 |     stdoutStream <<< "], output: {"
1570 |
1571 |     stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1572 |
1573 |     stdoutStream <<< "}"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1573:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1571 |     stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
1572 |
1573 |     stdoutStream <<< "}"
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1574 |     stdoutStream <<< "\n"
1575 |     stdoutStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1574:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1572 |
1573 |     stdoutStream <<< "}"
1574 |     stdoutStream <<< "\n"
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1575 |     stdoutStream.flush()
1576 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1575:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1573 |     stdoutStream <<< "}"
1574 |     stdoutStream <<< "\n"
1575 |     stdoutStream.flush()
     |     `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1576 |   }
1577 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1585:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1583 |   private func printActions(_ jobs: [Job]) {
1584 |     defer {
1585 |       stdoutStream.flush()
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1586 |     }
1587 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1645:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1643 |
1644 |       // Print current Job
1645 |       stdoutStream <<< nextId <<< ": " <<< job.kind.rawValue <<< ", {"
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1646 |       switch job.kind {
1647 |       // Don't sort for compile jobs. Puts pch last
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1649:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1647 |       // Don't sort for compile jobs. Puts pch last
1648 |       case .compile:
1649 |         stdoutStream <<< inputIds.map(\.description).joined(separator: ", ")
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1650 |       default:
1651 |         stdoutStream <<< inputIds.sorted().map(\.description).joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1651:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1649 |         stdoutStream <<< inputIds.map(\.description).joined(separator: ", ")
1650 |       default:
1651 |         stdoutStream <<< inputIds.sorted().map(\.description).joined(separator: ", ")
     |         `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1652 |       }
1653 |       var typeName = job.outputs.first?.type.name
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1657:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1655 |         typeName = "none"
1656 |       }
1657 |       stdoutStream <<< "}, " <<< typeName! <<< "\n"
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1658 |       jobIdMap[job] = nextId
1659 |       nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1665:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1663 |   private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1664 |     if inputIdMap[input] == nil {
1665 |       stdoutStream <<< nextId <<< ": " <<< "input, "
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1666 |       stdoutStream <<< "\"" <<< input.file <<< "\", " <<< input.type <<< "\n"
1667 |       inputIdMap[input] = nextId
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1666:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1664 |     if inputIdMap[input] == nil {
1665 |       stdoutStream <<< nextId <<< ": " <<< "input, "
1666 |       stdoutStream <<< "\"" <<< input.file <<< "\", " <<< input.type <<< "\n"
     |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1667 |       inputIdMap[input] = nextId
1668 |       nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/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 |   }
335 |
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:80:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |       break
 79 |     case .verbose:
 80 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |       stdoutStream.flush()
 82 |     case .parsableOutput:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:81:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |     case .verbose:
 80 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
 81 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |     case .parsableOutput:
 83 |       let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:115:11: 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
113 |       if !output.isEmpty {
114 |         Driver.stdErrQueue.sync {
115 |           stderrStream <<< output
    |           `- 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
116 |           stderrStream.flush()
117 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:116:11: 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
114 |         Driver.stdErrQueue.sync {
115 |           stderrStream <<< output
116 |           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
117 |         }
118 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:170: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
168 |     guard let json = try? message.toJSON() else { return }
169 |     Driver.stdErrQueue.sync {
170 |       stderrStream <<< json.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 <<< String(data: json, encoding: .utf8)! <<< "\n"
172 |       stderrStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171: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
169 |     Driver.stdErrQueue.sync {
170 |       stderrStream <<< json.count <<< "\n"
171 |       stderrStream <<< String(data: json, encoding: .utf8)! <<< "\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
172 |       stderrStream.flush()
173 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:172: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
170 |       stderrStream <<< json.count <<< "\n"
171 |       stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 |       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
173 |     }
174 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:788:12: note: var declared here
786 |
787 | /// Public stderr stream instance.
788 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
789 |     filePointer: TSCLibc.stderr,
790 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/DriverExecutor.swift:82:8: warning: associated value 'decodingError' of 'Sendable'-conforming enum 'JobExecutionError' has non-sendable type 'ProcessResult'; this is an error in the Swift 6 language mode
 80 |   case failedToReadJobOutput
 81 |   // A way to pass more information to the catch point
 82 |   case decodingError(DecodingError, Data, ProcessResult)
    |        `- warning: associated value 'decodingError' of 'Sendable'-conforming enum 'JobExecutionError' has non-sendable type 'ProcessResult'; this is an error in the Swift 6 language mode
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:25:15: note: struct 'ProcessResult' does not conform to the 'Sendable' protocol
  23 |
  24 | /// Process result data which is available after process termination.
  25 | public struct ProcessResult: CustomStringConvertible {
     |               `- note: struct 'ProcessResult' does not conform to the 'Sendable' protocol
  26 |
  27 |     public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/DriverExecutor.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import struct TSCBasic.ProcessResult
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 14 |
 15 | import struct Foundation.Data
[417/434] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[418/434] Compiling SwiftDriver RelativePathAdditions.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[419/434] Compiling SwiftDriver Sanitizer.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[420/434] Compiling SwiftDriver StringAdditions.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[421/434] Compiling SwiftDriver System.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[422/434] Compiling SwiftDriver Triple+Platforms.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[423/434] Compiling SwiftDriver Triple.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[424/434] Compiling SwiftDriver TypedVirtualPath.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[425/434] Compiling SwiftDriver Version.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[426/434] Compiling SwiftDriver VirtualPath.swift
/Users/admin/builder/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)),
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
335 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:685:8: warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
683 | enum FileSystemError: Swift.Error {
684 |   case noCurrentWorkingDirectory
685 |   case cannotResolveTempPath(RelativePath)
    |        `- warning: associated value 'cannotResolveTempPath' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'RelativePath'; this is an error in the Swift 6 language mode
686 |   case cannotResolveStandardInput
687 |   case cannotResolveStandardOutput
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Path.swift:234:15: note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 232 | /// path components are symbolic links on disk.  However, the file system is
 233 | /// never accessed in any way when initializing a RelativePath.
 234 | public struct RelativePath: Hashable {
     |               `- note: struct 'RelativePath' does not conform to the 'Sendable' protocol
 235 |     /// Private implementation details, shared with the AbsolutePath struct.
 236 |     fileprivate let _impl: PathImpl
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 19 | #endif
 20 |
 21 | import enum TSCBasic.SystemError
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TSCBasic'
 22 | import func TSCBasic.resolveSymlinks
 23 | import protocol TSCBasic.FileSystem
[426/434] Write Objects.LinkFileList
[428/438] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
[429/438] Compiling SwiftDriverExecution llbuild.swift
/Users/admin/builder/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
[429/438] Linking libSwiftDriverDynamic.dylib
[431/438] Compiling SwiftDriverExecution MultiJobExecutor.swift
/Users/admin/builder/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
/Users/admin/builder/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 |   }
/Users/admin/builder/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 |   }
/Users/admin/builder/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
[432/438] Emitting module SwiftDriverExecution
/Users/admin/builder/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
/Users/admin/builder/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
[433/448] Compiling swift_driver main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:67:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 65 |
 66 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
 67 |     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.
 68 |   }
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:79:11: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     guard let subcommandPath = subcommandPath,
 79 |           localFileSystem.exists(subcommandPath) else {
    |           `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |       throw Driver.Error.unknownOrMissingSubcommand(subcommand)
 81 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:93:54: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 91 |   let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
 92 |                                          processSet: processSet,
 93 |                                          fileSystem: localFileSystem,
    |                                                      `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |                                          env: ProcessEnv.vars)
 95 |   var driver = try Driver(args: arguments,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:40:6: error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
 36 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
 37 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
 38 | var driverInterrupted = false
    |     `- note: var declared here
 39 | func getExitCode(_ code: Int32) -> Int32 {
    |      `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
 40 |   if driverInterrupted {
    |      `- error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
 41 |     interruptSignalSource.cancel()
 42 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:41: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
 34 | import var TSCBasic.localFileSystem
 35 |
 36 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
    |     `- note: let declared here
 37 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
 38 | var driverInterrupted = false
 39 | func getExitCode(_ code: Int32) -> Int32 {
    |      `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
 40 |   if driverInterrupted {
 41 |     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
 42 | #if os(Windows)
 43 |     TerminateProcess(GetCurrentProcess(), UINT(0xC0000000 | UINT(2)))
[434/448] Emitting module swift_driver
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:67:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 65 |
 66 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
 67 |     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.
 68 |   }
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:79:11: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 77 |
 78 |     guard let subcommandPath = subcommandPath,
 79 |           localFileSystem.exists(subcommandPath) else {
    |           `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |       throw Driver.Error.unknownOrMissingSubcommand(subcommand)
 81 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:93:54: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 91 |   let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
 92 |                                          processSet: processSet,
 93 |                                          fileSystem: localFileSystem,
    |                                                      `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |                                          env: ProcessEnv.vars)
 95 |   var driver = try Driver(args: arguments,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
[435/448] Compiling TestUtilities PathExtensions.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:25:30: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |     env: [String: String] = ProcessEnv.vars,
24 |     diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 |     fileSystem: FileSystem = localFileSystem,
   |                              `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |     integratedDriver: Bool = true
27 |   ) throws {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
BUILD FAILURE 6.0 macosSpm