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 (beta) for Linux on 15 Sep 2024 02:52:38 UTC.

Build Command

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

Build Log

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 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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: {"
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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: ", ")
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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 <<< "}"
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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()
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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 |   }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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: ", ")
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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 |
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/OutputFileMap.swift:25:14: warning: static property 'singleInputKey' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | /// Mapping of input file paths to specific output files.
 24 | public struct OutputFileMap: Hashable, Codable {
 25 |   static let singleInputKey = try! VirtualPath.intern(path: ".")
    |              |- warning: static property 'singleInputKey' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'singleInputKey' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// The known mapping from input file to specific output files.
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:325:17: note: consider making struct 'Handle' conform to the 'Sendable' protocol
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/OutputFileMap.swift:198:11: warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
196 |     private struct CodingKeys: CodingKey {
197 |
198 |       let fileType: FileType
    |           `- warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
199 |
200 |       init(fileType: FileType) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:17:13: note: consider making enum 'FileType' conform to the 'Sendable' protocol
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
/host/spi-builder-workspace/Sources/SwiftDriver/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:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:783:12: note: var declared here
781 |
782 | /// Public stdout stream instance.
783 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
784 |     filePointer: TSCLibc.stdout,
785 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/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 |         }
/host/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))
/host/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 |       }
/host/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))
/host/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()
/host/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))
/host/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 |     }
/host/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))
/host/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 |   }
/host/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))
/host/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 |
/host/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 {
/host/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
[428/450] Compiling SwiftDriver Diagnostics.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[429/450] Compiling SwiftDriver FileList.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[430/450] Compiling SwiftDriver FileType.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[431/450] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[432/450] Compiling SwiftDriver RelativePathAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[433/450] Compiling SwiftDriver Sanitizer.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[434/450] Compiling SwiftDriver StringAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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/450] Compiling SwiftDriver System.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[436/450] Compiling SwiftDriver Triple+Platforms.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[437/450] Compiling SwiftDriver Triple.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[438/450] Compiling SwiftDriver TypedVirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[439/450] Compiling SwiftDriver Version.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[440/450] Compiling SwiftDriver VirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:265:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
    :
263 | extension FileType {
264 |
265 |   private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
    |                      |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 |   init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 |   ///
337 |   /// - SeeAlso: `Triple.supports(_:)`
338 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 |     public enum Availability {
    :
411 |   /// ARC natively in their respective copies of the Objective-C runtime,
412 |   /// and therefore do not require additional support libraries.
413 |   static let nativeARC = Self(
    |              |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 |     macOS: .available(since: Triple.Version(10, 11, 0)),
415 |     iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
     |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  65 |
  66 |     public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
 33 |   private static var pathCache = PathCache()
    |                      |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |   private static var pathCache = PathCache()
 34 |
 35 |   private static var temporaryFileStore = TemporaryFileStore()
    |                      |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |   /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
330 |     }
331 |
332 |     public static let standardOutput = Handle(-1)
    |                       |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     public static let standardInput = Handle(-2)
334 |   }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 |   /// in the global path table ensures we only pay the cost at most once per
324 |   /// path string.
325 |   public struct Handle {
    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
    :
331 |
332 |     public static let standardOutput = Handle(-1)
333 |     public static let standardInput = Handle(-2)
    |                       |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |   }
335 |
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:785:40: 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
783 |       let interval: TimeInterval = unixReferenceDate + correction
784 |       #else
785 |       let interval: TimeInterval = try localFileSystem.getFileInfo(path).modTime.timeIntervalSince1970
    |                                        `- 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
786 |       #endif
787 |       return TimePoint(seconds: UInt64(interval.rounded(.down)), nanoseconds: 0)
/host/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 {
[441/451] Wrapping AST for SwiftDriver for debugging
[442/451] Write Objects.LinkFileList
[443/455] Linking libSwiftDriverDynamic.so
[445/455] Compiling SwiftDriverExecution llbuild.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 22 | // We either import the llbuildSwift shared library or the llbuild framework.
 23 | #if canImport(llbuildSwift)
 24 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 25 | @_implementationOnly import llbuild
 26 | #else
[446/455] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
[447/455] Compiling SwiftDriverExecution MultiJobExecutor.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 31 | // We either import the llbuildSwift shared library or the llbuild framework.
 32 | #if canImport(llbuildSwift)
 33 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 34 | @_implementationOnly import llbuild
 35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:7: warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
508 | }
509 | /// A rule for a single compiler invocation.
510 | class ExecuteJobRule: LLBuildRule {
    |       `- note: class 'ExecuteJobRule' does not conform to the 'Sendable' protocol
511 |   struct RuleKey: LLBuildKey {
512 |     typealias BuildValue = DriverBuildValue
    :
559 |     // is we should call it after inputsAvailable is called.
560 |     context.jobQueue.addOperation {
561 |       self.executeJob(engine)
    |       `- warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 |     }
563 |   }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:23: warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
559 |     // is we should call it after inputsAvailable is called.
560 |     context.jobQueue.addOperation {
561 |       self.executeJob(engine)
    |                       `- warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 |     }
563 |   }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:117:7: note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
115 |
116 | // FIXME: Rename to something else.
117 | class LLTaskBuildEngine {
    |       `- note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
118 |
119 |   let engine: TaskBuildEngine
[448/455] Emitting module SwiftDriverExecution
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 31 | // We either import the llbuildSwift shared library or the llbuild framework.
 32 | #if canImport(llbuildSwift)
 33 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 34 | @_implementationOnly import llbuild
 35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 22 | // We either import the llbuildSwift shared library or the llbuild framework.
 23 | #if canImport(llbuildSwift)
 24 | @_implementationOnly import llbuildSwift
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
 25 | @_implementationOnly import llbuild
 26 | #else
[449/456] Wrapping AST for SwiftDriverExecution for debugging
[451/466] Compiling swift_driver main.swift
/host/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 |
/host/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 |     }
/host/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 {
/host/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,
/host/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 {
/host/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)
/host/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)))
[452/466] Emitting module swift_driver
/host/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 |
/host/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 |     }
/host/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 {
/host/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,
/host/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 {
[453/466] Compiling TestUtilities Fixture.swift
/host/spi-builder-workspace/Tests/TestUtilities/Fixture.swift:30:33: 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
28 |     at relativePath: RelativePath,
29 |     for file: String,
30 |     on 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
31 |   ) -> AbsolutePath? {
32 |     let packageRootPath: AbsolutePath =
/host/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 {
/host/spi-builder-workspace/Tests/TestUtilities/Fixture.swift:33:9: warning: 'init(_:)' is deprecated: use throwing variant instead
31 |   ) -> AbsolutePath? {
32 |     let packageRootPath: AbsolutePath =
33 |         AbsolutePath(#file).parentDirectory.parentDirectory.parentDirectory
   |         `- warning: 'init(_:)' is deprecated: use throwing variant instead
34 |     let fixturePath =
35 |         AbsolutePath(relativePath.pathString,
/host/spi-builder-workspace/Tests/TestUtilities/Fixture.swift:35:9: warning: 'init(_:relativeTo:)' is deprecated: use throwing variant instead
33 |         AbsolutePath(#file).parentDirectory.parentDirectory.parentDirectory
34 |     let fixturePath =
35 |         AbsolutePath(relativePath.pathString,
   |         `- warning: 'init(_:relativeTo:)' is deprecated: use throwing variant instead
36 |                      relativeTo: packageRootPath.appending(component: "TestInputs"))
37 |             .appending(component: file)
[454/466] Emitting module TestUtilities
/host/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 {
/host/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 {
/host/spi-builder-workspace/Tests/TestUtilities/Fixture.swift:30:33: 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
28 |     at relativePath: RelativePath,
29 |     for file: String,
30 |     on 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
31 |   ) -> AbsolutePath? {
32 |     let packageRootPath: AbsolutePath =
/host/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 {
[455/466] Compiling TestUtilities DriverExtensions.swift
/host/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 {
/host/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 {
[456/466] Compiling TestUtilities OutputFileMapCreator.swift
/host/spi-builder-workspace/Tests/TestUtilities/OutputFileMapCreator.swift:37:10: 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
35 |                            excludeMainEntry: Bool = false) {
36 |     let creator = Self(module: module, inputPaths: inputPaths, derivedData: derivedData, excludeMainEntry: excludeMainEntry)
37 |     try! localFileSystem.writeIfChanged(path: dst, bytes: ByteString(creator.generateData()))
   |          `- 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
38 |   }
39 |
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:74:7: 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
 72 |     exit(1)
 73 |   }
 74 |   if !localFileSystem.exists(sdkPath) {
    |       `- 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
 75 |     diagnosticsEngine.emit(error: "cannot find sdk: \(sdkPath.pathString)")
 76 |     exit(1)
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:87:7: 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
 85 |     outputDir = try AbsolutePath(validating: collector.versionString, relativeTo: outputDir)
 86 |   }
 87 |   if !localFileSystem.exists(outputDir) {
    |       `- 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
 88 |     try localFileSystem.createDirectory(outputDir, recursive: true)
 89 |   }
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:88:9: 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
 86 |   }
 87 |   if !localFileSystem.exists(outputDir) {
 88 |     try localFileSystem.createDirectory(outputDir, recursive: true)
    |         `- 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
 89 |   }
 90 |   let swiftcPathRaw = ProcessEnv.vars["SWIFT_EXEC"]
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:107:7: 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
105 |                                                  .parentDirectory)
106 |   }
107 |   if !localFileSystem.exists(swiftcPath) {
    |       `- 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
108 |     diagnosticsEngine.emit(error: "cannot find swift compiler: \(swiftcPath.pathString)")
109 |     exit(1)
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:113:6: 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
111 |
112 |   let sysVersionFile = outputDir.appending(component: "SystemVersion.plist")
113 |   if localFileSystem.exists(sysVersionFile) {
    |      `- 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
114 |     try localFileSystem.removeFileTree(sysVersionFile)
115 |   }
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:114:9: 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
112 |   let sysVersionFile = outputDir.appending(component: "SystemVersion.plist")
113 |   if localFileSystem.exists(sysVersionFile) {
114 |     try localFileSystem.removeFileTree(sysVersionFile)
    |         `- 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
115 |   }
116 |   // Copy $SDK/System/Library/CoreServices/SystemVersion.plist file from the SDK
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:119:7: 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
117 |   // into the prebuilt module file to keep track of which SDK build we are generating
118 |   // the modules from.
119 |   try localFileSystem.copy(from: sdkPath.appending(component: "System")
    |       `- 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
120 |                               .appending(component: "Library")
121 |                               .appending(component: "CoreServices")
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:133:9: 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
131 |   try withTemporaryFile(suffix: ".swift") {
132 |     let tempPath = $0.path
133 |     try localFileSystem.writeFileContents(tempPath, body: {
    |         `- 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
134 |       for module in allModules {
135 |         $0 <<< "import " <<< module <<< "\n"
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:140:56: 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
138 |     let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
139 |                                            processSet: processSet,
140 |                                            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
141 |                                            env: ProcessEnv.vars)
142 |     var args = ["swiftc",
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:153: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
151 |       // Create module cache dir if absent.
152 |       let mcpPath = try VirtualPath(path: mcp).absolutePath!
153 |       if !localFileSystem.exists(mcpPath) {
    |           `- 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
154 |         try localFileSystem.createDirectory(mcpPath, recursive: true)
155 |       }
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:154:13: 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
152 |       let mcpPath = try VirtualPath(path: mcp).absolutePath!
153 |       if !localFileSystem.exists(mcpPath) {
154 |         try localFileSystem.createDirectory(mcpPath, recursive: true)
    |             `- 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
155 |       }
156 |     }
/host/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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:167: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
165 |     if verbose {
166 |       Driver.stdErrQueue.sync {
167 |         stderrStream <<< "job count: \(jobs.count + danglingJobs.count)\n"
    |         `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 |         stderrStream.flush()
169 |       }
/host/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))
BUILD FAILURE 6.0 linux