Build Information
Failed to build swift-driver, reference 0.50800.0 (2353b3
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:06:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
114 | Driver.stdErrQueue.sync {
115 | stderrStream <<< output
116 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:170:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 | guard let json = try? message.toJSON() else { return }
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 | stderrStream.flush()
173 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:172:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
[401/429] Compiling SwiftDriver ParsableOutput.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[402/429] Compiling SwiftDriver ProcessProtocol.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[403/429] Compiling SwiftDriver ClangVersionedDependencyResolution.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[404/429] Compiling SwiftDriver ExplicitDependencyBuildPlanner.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[405/429] Compiling SwiftDriver CommonDependencyOperations.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[406/429] Compiling SwiftDriver InterModuleDependencyGraph.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[407/429] Compiling SwiftDriver InterModuleDependencyOracle.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[408/429] Compiling SwiftDriver ModuleDependencyScanning.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[409/429] Compiling SwiftDriver SerializableModuleArtifacts.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[410/429] Compiling SwiftDriver Bitcode.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[411/429] Compiling SwiftDriver BitcodeElement.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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()
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/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 | }
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[412/429] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[413/429] Compiling SwiftDriver RelativePathAdditions.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[414/429] Compiling SwiftDriver Sanitizer.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[415/429] Compiling SwiftDriver StringAdditions.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[416/429] Compiling SwiftDriver System.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[417/429] Compiling SwiftDriver Triple+Platforms.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[418/429] Compiling SwiftDriver Triple.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[419/429] Compiling SwiftDriver TypedVirtualPath.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[420/429] Compiling SwiftDriver VersionExtensions.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[421/429] Compiling SwiftDriver VirtualPath.swift
/Users/admin/builder/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)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[421/429] Write Objects.LinkFileList
[423/433] Compiling SwiftDriverExecution llbuild.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
[424/433] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
[424/433] Linking libSwiftDriverDynamic.dylib
[426/433] Emitting module SwiftDriverExecution
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
[427/433] Compiling SwiftDriverExecution MultiJobExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:7: warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
508 | }
509 | /// A rule for a single compiler invocation.
510 | class ExecuteJobRule: LLBuildRule {
| `- note: class 'ExecuteJobRule' does not conform to the 'Sendable' protocol
511 | struct RuleKey: LLBuildKey {
512 | typealias BuildValue = DriverBuildValue
:
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:23: warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:117:7: note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
115 |
116 | // FIXME: Rename to something else.
117 | class LLTaskBuildEngine {
| `- note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
118 |
119 | let engine: TaskBuildEngine
[428/443] Emitting module swift_driver
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift: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,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[429/443] Compiling swift_driver main.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift: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,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift: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)
/Users/admin/builder/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)))
BUILD FAILURE 6.0 macosSpm