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 0.50800.0 (2353b3), 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-0":/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

    |                 `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 |     fileprivate var core: Int
327 |
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/OutputFileMap.swift:198:11: warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
196 |     private struct CodingKeys: CodingKey {
197 |
198 |       let fileType: FileType
    |           `- warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
199 |
200 |       init(fileType: FileType) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:17:13: note: consider making enum 'FileType' conform to the 'Sendable' protocol
 15 | /// The raw values for these enumerations describe the default extension for
 16 | /// the file type.
 17 | public enum FileType: String, Hashable, CaseIterable, Codable {
    |             `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
 18 |   /// Swift source file.
 19 |   case swift
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/Bitcode/Bitstream.swift:102:23: warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |   ///            `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
 93 |   ///            to register abbreviations.
 94 |   public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
    |                 `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
 95 |     public var rawValue: UInt64
 96 |
    :
100 |
101 |     /// Marks the end of the current block.
102 |     public static let endBlock = Self(rawValue: 0)
    |                       |- warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'endBlock' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |     /// Marks the beginning of a new block.
104 |     public static let enterSubblock = Self(rawValue: 1)
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/Bitcode/Bitstream.swift:104:23: warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |   ///            `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
 93 |   ///            to register abbreviations.
 94 |   public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
    |                 `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
 95 |     public var rawValue: UInt64
 96 |
    :
102 |     public static let endBlock = Self(rawValue: 0)
103 |     /// Marks the beginning of a new block.
104 |     public static let enterSubblock = Self(rawValue: 1)
    |                       |- warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'enterSubblock' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |     /// Marks the definition of a new abbreviation.
106 |     public static let defineAbbreviation = Self(rawValue: 2)
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/Bitcode/Bitstream.swift:106:23: warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |   ///            `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
 93 |   ///            to register abbreviations.
 94 |   public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
    |                 `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
 95 |     public var rawValue: UInt64
 96 |
    :
104 |     public static let enterSubblock = Self(rawValue: 1)
105 |     /// Marks the definition of a new abbreviation.
106 |     public static let defineAbbreviation = Self(rawValue: 2)
    |                       |- warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'defineAbbreviation' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |     /// Marks the definition of a new unabbreviated record.
108 |     public static let unabbreviatedRecord = Self(rawValue: 3)
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/Bitcode/Bitstream.swift:108:23: warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |   ///            `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
 93 |   ///            to register abbreviations.
 94 |   public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
    |                 `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
 95 |     public var rawValue: UInt64
 96 |
    :
106 |     public static let defineAbbreviation = Self(rawValue: 2)
107 |     /// Marks the definition of a new unabbreviated record.
108 |     public static let unabbreviatedRecord = Self(rawValue: 3)
    |                       |- warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'unabbreviatedRecord' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |     /// The first application-defined abbreviation ID.
110 |     public static let firstApplicationID = Self(rawValue: 4)
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/Bitcode/Bitstream.swift:110:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
 92 |   ///            `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
 93 |   ///            to register abbreviations.
 94 |   public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
    |                 `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
 95 |     public var rawValue: UInt64
 96 |
    :
108 |     public static let unabbreviatedRecord = Self(rawValue: 3)
109 |     /// The first application-defined abbreviation ID.
110 |     public static let firstApplicationID = Self(rawValue: 4)
    |                       |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'firstApplicationID' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     public var id: UInt64 {
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/Bitcode/Bitstream.swift:146:23: warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
137 |   /// }
138 |   /// ```
139 |   public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
    |                 `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
140 |     public var rawValue: UInt8
141 |
    :
144 |     }
145 |
146 |     public static let blockInfo = Self(rawValue: 0)
    |                       |- warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'blockInfo' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |     public static let firstApplicationID = Self(rawValue: 8)
148 |
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/Bitcode/Bitstream.swift:147:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
137 |   /// }
138 |   /// ```
139 |   public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
    |                 `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
140 |     public var rawValue: UInt8
141 |
    :
145 |
146 |     public static let blockInfo = Self(rawValue: 0)
147 |     public static let firstApplicationID = Self(rawValue: 8)
    |                       |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'firstApplicationID' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 |     public var id: UInt8 {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:129:14: warning: static property 'remarkDisabled' is not concurrency-safe because non-'Sendable' type '(String) -> Diagnostic.Message' may have shared mutable state; this is an error in the Swift 6 language mode
127 |   }
128 |
129 |   static let remarkDisabled = Diagnostic.Message.remark_incremental_compilation_has_been_disabled
    |              |- warning: static property 'remarkDisabled' is not concurrency-safe because non-'Sendable' type '(String) -> Diagnostic.Message' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'remarkDisabled' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 |   static func remark_incremental_compilation_has_been_disabled(because why: String) -> Diagnostic.Message {
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:357:23: warning: static property 'alwaysRebuildDependents' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
345 |   /// Options that control the behavior of various aspects of the
346 |   /// incremental build.
347 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
348 |     public var rawValue: UInt8
349 |
    :
355 |     /// during the incremental build. Dependent files are always scheduled to
356 |     /// rebuild.
357 |     public static let alwaysRebuildDependents                = Options(rawValue: 1 << 0)
    |                       |- warning: static property 'alwaysRebuildDependents' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'alwaysRebuildDependents' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
358 |     /// Print incremental build decisions as remarks.
359 |     public static let showIncremental                        = Options(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:359:23: warning: static property 'showIncremental' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
345 |   /// Options that control the behavior of various aspects of the
346 |   /// incremental build.
347 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
348 |     public var rawValue: UInt8
349 |
    :
357 |     public static let alwaysRebuildDependents                = Options(rawValue: 1 << 0)
358 |     /// Print incremental build decisions as remarks.
359 |     public static let showIncremental                        = Options(rawValue: 1 << 1)
    |                       |- warning: static property 'showIncremental' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'showIncremental' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |     /// After integrating each source file dependency graph into the driver's
361 |     /// module dependency graph, dump a dot file to the current working
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:365:23: warning: static property 'emitDependencyDotFileAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
345 |   /// Options that control the behavior of various aspects of the
346 |   /// incremental build.
347 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
348 |     public var rawValue: UInt8
349 |
    :
363 |     ///
364 |     /// FIXME: This option is not yet implemented.
365 |     public static let emitDependencyDotFileAfterEveryImport  = Options(rawValue: 1 << 2)
    |                       |- warning: static property 'emitDependencyDotFileAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'emitDependencyDotFileAfterEveryImport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
366 |     /// After integrating each source file dependency graph, verifies the
367 |     /// integrity of the driver's dependency graph and aborts if any errors
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:369:23: warning: static property 'verifyDependencyGraphAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
345 |   /// Options that control the behavior of various aspects of the
346 |   /// incremental build.
347 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
348 |     public var rawValue: UInt8
349 |
    :
367 |     /// integrity of the driver's dependency graph and aborts if any errors
368 |     /// are detected.
369 |     public static let verifyDependencyGraphAfterEveryImport  = Options(rawValue: 1 << 3)
    |                       |- warning: static property 'verifyDependencyGraphAfterEveryImport' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'verifyDependencyGraphAfterEveryImport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 |     /// Enables the cross-module incremental build infrastructure.
371 |     ///
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:374:23: warning: static property 'enableCrossModuleIncrementalBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
345 |   /// Options that control the behavior of various aspects of the
346 |   /// incremental build.
347 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
348 |     public var rawValue: UInt8
349 |
    :
372 |     /// FIXME: This option is transitory. We intend to make this the
373 |     /// default behavior. This option should flip to a "disable" bit after that.
374 |     public static let enableCrossModuleIncrementalBuild      = Options(rawValue: 1 << 4)
    |                       |- warning: static property 'enableCrossModuleIncrementalBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'enableCrossModuleIncrementalBuild' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
375 |     /// Enables an optimized form of start-up for the incremental build state
376 |     /// that reads the dependency graph from a serialized format on disk instead
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:378:23: warning: static property 'readPriorsFromModuleDependencyGraph' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
345 |   /// Options that control the behavior of various aspects of the
346 |   /// incremental build.
347 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
348 |     public var rawValue: UInt8
349 |
    :
376 |     /// that reads the dependency graph from a serialized format on disk instead
377 |     /// of reading O(N) swiftdeps files.
378 |     public static let readPriorsFromModuleDependencyGraph    = Options(rawValue: 1 << 5)
    |                       |- warning: static property 'readPriorsFromModuleDependencyGraph' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'readPriorsFromModuleDependencyGraph' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 |
380 |     /// Enables additional handling of explicit module build artifacts:
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:382:23: warning: static property 'explicitModuleBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
345 |   /// Options that control the behavior of various aspects of the
346 |   /// incremental build.
347 |   public struct Options: OptionSet {
    |                 `- note: consider making struct 'Options' conform to the 'Sendable' protocol
348 |     public var rawValue: UInt8
349 |
    :
380 |     /// Enables additional handling of explicit module build artifacts:
381 |     /// Additional reading and writing of the inter-module dependency graph.
382 |     public static let explicitModuleBuild                    = Options(rawValue: 1 << 6)
    |                       |- warning: static property 'explicitModuleBuild' is not concurrency-safe because non-'Sendable' type 'IncrementalCompilationState.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'explicitModuleBuild' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
383 |   }
384 | }
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState+Extensions.swift:391:10: warning: associated value 'couldNotWrite(path:error:)' of 'Sendable'-conforming enum 'WriteDependencyGraphError' has non-sendable type 'VirtualPath'; this is an error in the Swift 6 language mode
389 |   enum WriteDependencyGraphError: LocalizedError {
390 |     case noBuildRecordInfo,
391 |          couldNotWrite(path: VirtualPath, error: Error)
    |          `- warning: associated value 'couldNotWrite(path:error:)' of 'Sendable'-conforming enum 'WriteDependencyGraphError' has non-sendable type 'VirtualPath'; this is an error in the Swift 6 language mode
392 |     var errorDescription: String? {
393 |       switch self {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:32:13: note: consider making enum 'VirtualPath' conform to the 'Sendable' protocol
 30 |
 31 | /// A virtual path.
 32 | public enum VirtualPath: Hashable {
    |             `- note: consider making enum 'VirtualPath' conform to the 'Sendable' protocol
 33 |   private static var pathCache = PathCache()
 34 |
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraph.swift:673:10: warning: associated value 'timeTravellingPriors(priorsModTime:buildStartTime:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'TimePoint'; this is an error in the Swift 6 language mode
 671 |     case unknownKind
 672 |     case unknownDependencySourceExtension
 673 |     case timeTravellingPriors(priorsModTime: TimePoint,
     |          `- warning: associated value 'timeTravellingPriors(priorsModTime:buildStartTime:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'TimePoint'; this is an error in the Swift 6 language mode
 674 |                               buildStartTime: TimePoint)
 675 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/DateAdditions.swift:27:15: note: consider making struct 'TimePoint' conform to the 'Sendable' protocol
 25 | ///             clock epochs. This makes it unsuitable for serialization in
 26 | ///             products that are expected to transit between machines.
 27 | public struct TimePoint: Equatable, Comparable, Hashable {
    |               `- note: consider making struct 'TimePoint' conform to the 'Sendable' protocol
 28 |   public var seconds: UInt64
 29 |   public var nanoseconds: UInt32
/host/spi-builder-workspace/Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraph.swift:673:10: warning: associated value 'timeTravellingPriors(priorsModTime:buildStartTime:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'TimePoint'; this is an error in the Swift 6 language mode
 671 |     case unknownKind
 672 |     case unknownDependencySourceExtension
 673 |     case timeTravellingPriors(priorsModTime: TimePoint,
     |          `- warning: associated value 'timeTravellingPriors(priorsModTime:buildStartTime:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'TimePoint'; this is an error in the Swift 6 language mode
 674 |                               buildStartTime: TimePoint)
 675 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/DateAdditions.swift:27:15: note: consider making struct 'TimePoint' conform to the 'Sendable' protocol
 25 | ///             clock epochs. This makes it unsuitable for serialization in
 26 | ///             products that are expected to transit between machines.
 27 | public struct TimePoint: Equatable, Comparable, Hashable {
    |               `- note: consider making struct 'TimePoint' conform to the 'Sendable' protocol
 28 |   public var seconds: UInt64
 29 |   public var nanoseconds: UInt32
/host/spi-builder-workspace/Sources/SwiftDriver/Jobs/EmitSupportedFeaturesJob.swift:106: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
104 |       .appending(component: "swift")
105 |       .appending(component: "features.json")
106 |     guard localFileSystem.exists(jsonPath) 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
107 |       return Set<String>()
108 |     }
/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/SwiftDriver/Jobs/EmitSupportedFeaturesJob.swift:109:23: 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
107 |       return Set<String>()
108 |     }
109 |     let content = try localFileSystem.readFileContents(jsonPath)
    |                       `- 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
110 |     let result = try JSONDecoder().decode(FeatureList.self, from: Data(content.contents))
111 |     return Set(result.features.map {$0.name})
/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/SwiftDriver/Jobs/Job.swift:139:10: warning: associated value 'inputUnexpectedlyModified' of 'Sendable'-conforming enum 'InputError' has non-sendable type 'TypedVirtualPath'; this is an error in the Swift 6 language mode
137 | extension Job {
138 |   public enum InputError: Error, Equatable, DiagnosticData {
139 |     case inputUnexpectedlyModified(TypedVirtualPath)
    |          `- warning: associated value 'inputUnexpectedlyModified' of 'Sendable'-conforming enum 'InputError' has non-sendable type 'TypedVirtualPath'; this is an error in the Swift 6 language mode
140 |
141 |     public var description: String {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/TypedVirtualPath.swift:13:15: note: consider making struct 'TypedVirtualPath' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 | /// A path for which the type of the input is known.
13 | public struct TypedVirtualPath: Hashable, Codable {
   |               `- note: consider making struct 'TypedVirtualPath' conform to the 'Sendable' protocol
14 |   /// The file this input refers to.
15 |   public let fileHandle: VirtualPath.Handle
/host/spi-builder-workspace/Sources/SwiftDriver/Jobs/Planning.swift:87:36: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  85 |   }
  86 |
  87 |   @_spi(Testing) public static var none = JobsInPhases(beforeCompiles: [],
     |                                    |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                                    |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
     |                                    |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
     |                                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  88 |                                  compileGroups: [],
  89 |                                  afterCompiles: [])
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:49:89: 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
 47 |   public let dummyForTestingObjectFormat = Triple.ObjectFormat.macho
 48 |
 49 |   public init(env: [String: String], executor: DriverExecutor, 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
 50 |               compilerExecutableDir: AbsolutePath? = nil, toolDirectory: AbsolutePath? = nil) {
 51 |     self.env = env
/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/SwiftDriver/Toolchains/DarwinToolchain.swift:165:10: warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
163 |
164 |   public enum ToolchainValidationError: Error, DiagnosticData {
165 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
    |          `- warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
166 |     case argumentNotSupported(String)
167 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:21:13: note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 19 | /// `Triple.version(for:)` retrieves a version based on the
 20 | /// corresponding `DarwinPlatform`.
 21 | public enum DarwinPlatform: Hashable {
    |             `- note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 22 |   /// macOS, corresponding to the `macosx`, `macos`, and `darwin` OS names.
 23 |   case macOS
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:165:10: warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
163 |
164 |   public enum ToolchainValidationError: Error, DiagnosticData {
165 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
    |          `- warning: associated value 'osVersionBelowMinimumDeploymentTarget(platform:version:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
166 |     case argumentNotSupported(String)
167 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:63:17: note: consider making struct 'Version' conform to the 'Sendable' protocol
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
  65 |
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:167:10: warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
165 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
166 |     case argumentNotSupported(String)
167 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
    |          `- warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'DarwinPlatform'; this is an error in the Swift 6 language mode
168 |     case unsupportedTargetVariant(variant: Triple)
169 |     case darwinOnlySupportsLibCxx
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:21:13: note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 19 | /// `Triple.version(for:)` retrieves a version based on the
 20 | /// corresponding `DarwinPlatform`.
 21 | public enum DarwinPlatform: Hashable {
    |             `- note: consider making enum 'DarwinPlatform' conform to the 'Sendable' protocol
 22 |   /// macOS, corresponding to the `macosx`, `macos`, and `darwin` OS names.
 23 |   case macOS
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:167:10: warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
165 |     case osVersionBelowMinimumDeploymentTarget(platform: DarwinPlatform, version: Triple.Version)
166 |     case argumentNotSupported(String)
167 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
    |          `- warning: associated value 'invalidDeploymentTargetForIR(platform:version:archName:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple.Version'; this is an error in the Swift 6 language mode
168 |     case unsupportedTargetVariant(variant: Triple)
169 |     case darwinOnlySupportsLibCxx
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:63:17: note: consider making struct 'Version' conform to the 'Sendable' protocol
  61 |
  62 |   /// Represents a version that may be present in the target triple.
  63 |   public struct Version: Equatable, Comparable, CustomStringConvertible {
     |                 `- note: consider making struct 'Version' conform to the 'Sendable' protocol
  64 |     public static let zero = Version(0, 0, 0)
  65 |
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/DarwinToolchain.swift:168:10: warning: associated value 'unsupportedTargetVariant(variant:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple'; this is an error in the Swift 6 language mode
166 |     case argumentNotSupported(String)
167 |     case invalidDeploymentTargetForIR(platform: DarwinPlatform, version: Triple.Version, archName: String)
168 |     case unsupportedTargetVariant(variant: Triple)
    |          `- warning: associated value 'unsupportedTargetVariant(variant:)' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Triple'; this is an error in the Swift 6 language mode
169 |     case darwinOnlySupportsLibCxx
170 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:35:15: note: consider making struct 'Triple' conform to the 'Sendable' protocol
  33 | /// This is a port of https://github.com/apple/swift-llvm/blob/stable/include/llvm/ADT/Triple.h
  34 | @dynamicMemberLookup
  35 | public struct Triple {
     |               `- note: consider making struct 'Triple' conform to the 'Sendable' protocol
  36 |   /// `Triple` proxies predicates from `Triple.OS`, returning `false` for an unknown OS.
  37 |   public subscript(dynamicMember predicate: KeyPath<OS, Bool>) -> Bool {
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/GenericUnixToolchain.swift:37:89: 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 |   public let dummyForTestingObjectFormat = Triple.ObjectFormat.elf
 36 |
 37 |   public init(env: [String: String], executor: DriverExecutor, fileSystem: FileSystem = localFileSystem, compilerExecutableDir: AbsolutePath? = nil, toolDirectory: AbsolutePath? = nil) {
    |                                                                                         `- 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 |     self.env = env
 39 |     self.executor = executor
/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/SwiftDriver/Toolchains/WebAssemblyToolchain.swift:59:89: 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
 57 |   public let dummyForTestingObjectFormat = Triple.ObjectFormat.wasm
 58 |
 59 |   public init(env: [String: String], executor: DriverExecutor, fileSystem: FileSystem = localFileSystem, compilerExecutableDir: AbsolutePath? = nil, toolDirectory: AbsolutePath? = nil) {
    |                                                                                         `- 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
 60 |     self.env = env
 61 |     self.executor = executor
/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/SwiftDriver/Toolchains/WindowsToolchain.swift:23:10: warning: associated value 'unsupportedSanitizer' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Sanitizer'; this is an error in the Swift 6 language mode
 21 | extension WindowsToolchain {
 22 |   public enum ToolchainValidationError: Error, DiagnosticData {
 23 |     case unsupportedSanitizer(Sanitizer)
    |          `- warning: associated value 'unsupportedSanitizer' of 'Sendable'-conforming enum 'ToolchainValidationError' has non-sendable type 'Sanitizer'; this is an error in the Swift 6 language mode
 24 |   }
 25 | }
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Sanitizer.swift:15:13: note: consider making enum 'Sanitizer' conform to the 'Sendable' protocol
13 | /// Defines a sanitizer that can be used to instrument the resulting product of
14 | /// this build.
15 | public enum Sanitizer: String, Hashable {
   |             `- note: consider making enum 'Sanitizer' conform to the 'Sendable' protocol
16 |   /// Address sanitizer (ASan)
17 |   case address
/host/spi-builder-workspace/Sources/SwiftDriver/Toolchains/WindowsToolchain.swift:50: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
 48 |
 49 |   public init(env: [String:String], executor: DriverExecutor,
 50 |               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
 51 |               compilerExecutableDir: AbsolutePath? = nil,
 52 |               toolDirectory: AbsolutePath? = nil) {
/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/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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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 |
[423/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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 {
[424/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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 {
[425/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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 {
[426/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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 {
[427/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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 {
[428/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/445] Compiling SwiftDriver VersionExtensions.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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/445] 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:411: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
334 |   ///
335 |   /// - SeeAlso: `Triple.supports(_:)`
336 |   public struct FeatureAvailability {
    |                 `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 |     public enum Availability {
    :
409 |   /// ARC natively in their respective copies of the Objective-C runtime,
410 |   /// and therefore do not require additional support libraries.
411 |   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
412 |     macOS: .available(since: Triple.Version(10, 11, 0)),
413 |     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: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/446] Wrapping AST for SwiftDriver for debugging
[437/446] Write Objects.LinkFileList
[439/450] 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
[439/450] Linking libSwiftDriverDynamic.so
[441/450] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
[442/450] 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
[443/450] 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
[444/451] Wrapping AST for SwiftDriverExecution for debugging
[446/461] 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 `init(validating:)` variant instead
31 |   ) -> AbsolutePath? {
32 |     let packageRootPath: AbsolutePath =
33 |         AbsolutePath(#file).parentDirectory.parentDirectory.parentDirectory
   |         `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` 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 `init(validating:relativeTo:)` variant instead
33 |         AbsolutePath(#file).parentDirectory.parentDirectory.parentDirectory
34 |     let fixturePath =
35 |         AbsolutePath(relativePath.pathString,
   |         `- warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
36 |                      relativeTo: packageRootPath.appending(component: "TestInputs"))
37 |             .appending(component: file)
[447/461] Compiling swift_driver main.swift
/host/spi-builder-workspace/Sources/swift-driver/main.swift:68:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 66 |
 67 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
 68 |     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.
 69 |   }
 70 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:80: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
 78 |
 79 |     guard let subcommandPath = subcommandPath,
 80 |           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
 81 |       throw Driver.Error.unknownOrMissingSubcommand(subcommand)
 82 |     }
/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:94: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
 92 |   let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
 93 |                                          processSet: processSet,
 94 |                                          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
 95 |                                          env: ProcessEnv.vars)
 96 |   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:41:6: error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
 37 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
 38 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
 39 | var driverInterrupted = false
    |     `- note: var declared here
 40 | func getExitCode(_ code: Int32) -> Int32 {
    |      `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
 41 |   if driverInterrupted {
    |      `- error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
 42 |     interruptSignalSource.cancel()
 43 | #if os(Windows)
/host/spi-builder-workspace/Sources/swift-driver/main.swift:42: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
 35 | import enum TSCUtility.Diagnostics
 36 |
 37 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
    |     `- note: let declared here
 38 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
 39 | var driverInterrupted = false
 40 | func getExitCode(_ code: Int32) -> Int32 {
    |      `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
 41 |   if driverInterrupted {
 42 |     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
 43 | #if os(Windows)
 44 |     TerminateProcess(GetCurrentProcess(), UINT(0xC0000000 | UINT(2)))
[448/461] 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 {
[449/461] Compiling TestUtilities PathExtensions.swift
[450/461] Compiling TestUtilities TemporaryFileMatching.swift
[451/461] Emitting module swift_driver
/host/spi-builder-workspace/Sources/swift-driver/main.swift:68:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 66 |
 67 |   if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
 68 |     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.
 69 |   }
 70 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:80: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
 78 |
 79 |     guard let subcommandPath = subcommandPath,
 80 |           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
 81 |       throw Driver.Error.unknownOrMissingSubcommand(subcommand)
 82 |     }
/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:94: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
 92 |   let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
 93 |                                          processSet: processSet,
 94 |                                          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
 95 |                                          env: ProcessEnv.vars)
 96 |   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 {
[452/461] 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 {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:85:17: warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
 83 |   // the SDK-versioned sub-directory.
 84 |   if outputDir.basename == "prebuilt-modules" {
 85 |     outputDir = AbsolutePath(collector.versionString, relativeTo: outputDir)
    |                 `- warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
 86 |   }
 87 |   if !localFileSystem.exists(outputDir) {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:95:18: warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
 93 |     swiftcPath = try VirtualPath(path: swiftcPathRaw).absolutePath!
 94 |   } else {
 95 |     swiftcPath = AbsolutePath("Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc",
    |                  `- warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
 96 |                               relativeTo: sdkPath.parentDirectory
 97 |                                                  .parentDirectory
/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 = AbsolutePath(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:102: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
100 |                                                  .parentDirectory)
101 |   }
102 |   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
103 |     diagnosticsEngine.emit(error: "cannot find swift compiler: \(swiftcPath.pathString)")
104 |     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:108: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
106 |
107 |   let sysVersionFile = outputDir.appending(component: "SystemVersion.plist")
108 |   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
109 |     try localFileSystem.removeFileTree(sysVersionFile)
110 |   }
/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:109: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
107 |   let sysVersionFile = outputDir.appending(component: "SystemVersion.plist")
108 |   if localFileSystem.exists(sysVersionFile) {
109 |     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
110 |   }
111 |   // 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:114: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
112 |   // into the prebuilt module file to keep track of which SDK build we are generating
113 |   // the modules from.
114 |   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
115 |                               .appending(component: "Library")
116 |                               .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:128: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
126 |   try withTemporaryFile(suffix: ".swift") {
127 |     let tempPath = $0.path
128 |     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
129 |       for module in allModules {
130 |         $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:135: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
133 |     let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
134 |                                            processSet: processSet,
135 |                                            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
136 |                                            env: ProcessEnv.vars)
137 |     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 {
BUILD FAILURE 6.0 linux