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 for Linux on 4 Nov 2024 01:59:00 UTC.

Build Command

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

Build Log

/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:289:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
287 |                                                                           useResponseFiles: .disabled)
288 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
289 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
290 |     }
291 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:519:8: 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
517 |       .appending(component: hostTriple.osNameUnversioned)
518 |       .appending(component: libScanner)
519 |     if localFileSystem.exists(libPath) {
    |        `- 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
520 |         return libPath
521 |     }
/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/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 {
[427/451] Compiling SwiftDriver BitstreamWriter.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:11: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 50 |
 51 |     if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
 52 |       try stdoutStream <<< dependencyGraph.toJSONString()
    |           `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 53 |       stdoutStream.flush()
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:53:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 51 |     if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
 52 |       try stdoutStream <<< dependencyGraph.toJSONString()
 53 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 54 |     }
 55 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:13: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 69 |       let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
 70 |       if outputFormat == nil || outputFormat == "json" {
 71 |         try stdoutStream <<< dependencyGraph.toJSONString()
    |             `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 72 |       } else if outputFormat == "dot" {
 73 |         DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:73:75: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 71 |         try stdoutStream <<< dependencyGraph.toJSONString()
 72 |       } else if outputFormat == "dot" {
 73 |         DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
    |                                                                           `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 74 |       }
 75 |       stdoutStream.flush()
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:75:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 73 |         DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
 74 |       }
 75 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 76 |     }
 77 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/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/ExplicitModuleBuilds/ModuleDependencyScanning.swift:288:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
286 |       let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
287 |                                                                           useResponseFiles: .disabled)
288 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
289 |       stdoutStream.flush()
290 |     }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:289:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
287 |                                                                           useResponseFiles: .disabled)
288 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
289 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
290 |     }
291 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:519:8: 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
517 |       .appending(component: hostTriple.osNameUnversioned)
518 |       .appending(component: libScanner)
519 |     if localFileSystem.exists(libPath) {
    |        `- 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
520 |         return libPath
521 |     }
/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/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 {
[428/451] Compiling SwiftDriver BlockInfo.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:11: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 50 |
 51 |     if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
 52 |       try stdoutStream <<< dependencyGraph.toJSONString()
    |           `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 53 |       stdoutStream.flush()
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:53:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 51 |     if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
 52 |       try stdoutStream <<< dependencyGraph.toJSONString()
 53 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 54 |     }
 55 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:13: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 69 |       let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
 70 |       if outputFormat == nil || outputFormat == "json" {
 71 |         try stdoutStream <<< dependencyGraph.toJSONString()
    |             `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 72 |       } else if outputFormat == "dot" {
 73 |         DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:73:75: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 71 |         try stdoutStream <<< dependencyGraph.toJSONString()
 72 |       } else if outputFormat == "dot" {
 73 |         DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
    |                                                                           `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 74 |       }
 75 |       stdoutStream.flush()
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:75:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 73 |         DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
 74 |       }
 75 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 76 |     }
 77 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/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/ExplicitModuleBuilds/ModuleDependencyScanning.swift:288:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
286 |       let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
287 |                                                                           useResponseFiles: .disabled)
288 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
289 |       stdoutStream.flush()
290 |     }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:289:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
287 |                                                                           useResponseFiles: .disabled)
288 |       stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
289 |       stdoutStream.flush()
    |       `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
290 |     }
291 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
791 |     filePointer: TSCLibc.stdout,
792 |     closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:519:8: 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
517 |       .appending(component: hostTriple.osNameUnversioned)
518 |       .appending(component: libScanner)
519 |     if localFileSystem.exists(libPath) {
    |        `- 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
520 |         return libPath
521 |     }
/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/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 {
[429/451] 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 {
[430/451] 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 {
[431/451] 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 {
[432/451] 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 {
[433/451] 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 {
[434/451] 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 {
[435/451] 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 {
[436/451] 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 {
[437/451] 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 {
[438/451] 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 {
[439/451] 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 {
[440/451] 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 {
[441/451] 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 {
[442/452] Wrapping AST for SwiftDriver for debugging
[443/452] Write Objects.LinkFileList
[445/456] 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
[445/456] Linking libSwiftDriverDynamic.so
[447/456] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
[448/456] 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
[449/456] 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
[450/459] Wrapping AST for SwiftDriverExecution for debugging
[452/467] 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)
[453/467] Compiling TestUtilities TemporaryFileMatching.swift
[454/467] Compiling TestUtilities PathExtensions.swift
[455/467] 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)))
[456/467] 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 {
[457/467] 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 {
[458/467] 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