Build Information
Failed to build swift-driver, reference 1.0.1 (1c07ce
), with Swift 6.0 for Linux on 15 Sep 2024 10:48:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
80 | case .verbose:
81 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
82 | 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
83 | case .parsableOutput:
84 | let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:116:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if !output.isEmpty {
115 | Driver.stdErrQueue.sync {
116 | stderrStream.send(output)
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | stderrStream.flush()
118 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:117:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 | Driver.stdErrQueue.sync {
116 | stderrStream.send(output)
117 | 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
118 | }
119 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | guard let json = try? message.toJSON() else { return }
170 | Driver.stdErrQueue.sync {
171 | stderrStream.send(
| `- 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 | """
173 | \(json.count)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:178: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
176 | """
177 | )
178 | 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
179 | }
180 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
[401/424] Compiling SwiftDriver ClangVersionedDependencyResolution.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ArgsResolver.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
17 | import struct TSCBasic.AbsolutePath
18 |
19 | @_implementationOnly import Yams
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
20 |
21 | /// How the resolver is to handle usage of response files
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:60:10: warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
58 | case integratedReplRemoved
59 | case cannotSpecify_OForMultipleOutputs
60 | case conflictingOptions(Option, Option)
| `- warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
61 | case unableToLoadOutputFileMap(String, String)
62 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/host/spi-builder-workspace/Sources/SwiftOptions/Option.swift:37:15: note: struct 'Option' does not conform to the 'Sendable' protocol
35 |
36 | /// Describes a command-line option.
37 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
38 | /// The kind of option we have, which determines how it will be parsed.
39 | public enum Kind: Hashable {
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftOptions'
10 | //
11 | //===----------------------------------------------------------------------===//
12 | import SwiftOptions
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftOptions'
13 |
14 | import class Dispatch.DispatchQueue
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:60:10: warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
58 | case integratedReplRemoved
59 | case cannotSpecify_OForMultipleOutputs
60 | case conflictingOptions(Option, Option)
| `- warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
61 | case unableToLoadOutputFileMap(String, String)
62 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/host/spi-builder-workspace/Sources/SwiftOptions/Option.swift:37:15: note: struct 'Option' does not conform to the 'Sendable' protocol
35 |
36 | /// Describes a command-line option.
37 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
38 | /// The kind of option we have, which determines how it will be parsed.
39 | public enum Kind: Hashable {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:525:21: warning: static property 'stderrDiagnosticsHandler' is not concurrency-safe because non-'Sendable' type 'DiagnosticsEngine.DiagnosticsHandler' (aka '(Diagnostic) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
523 |
524 | /// Handler for emitting diagnostics to stderr.
525 | public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
| |- warning: static property 'stderrDiagnosticsHandler' is not concurrency-safe because non-'Sendable' type 'DiagnosticsEngine.DiagnosticsHandler' (aka '(Diagnostic) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stderrDiagnosticsHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | stdErrQueue.sync {
527 | let stream = stderrStream
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:527:20: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
525 | public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
526 | stdErrQueue.sync {
527 | let stream = stderrStream
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
528 | if !(diagnostic.location is UnknownLocation) {
529 | stream.send("\(diagnostic.location.description): ")
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:598:40: warning: 'vars' is deprecated: Use `block` instead
596 | public init(
597 | args: [String],
598 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
599 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
600 | fileSystem: FileSystem = localFileSystem,
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1507:39: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1505 | ) throws {
1506 | if parsedOptions.hasArgument(.v) {
1507 | try printVersion(outputStream: &stderrStream)
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1508 | }
1509 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1553:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1551 | if parsedOptions.contains(.driverPrintOutputFileMap) {
1552 | if let outputFileMap = self.outputFileMap {
1553 | stderrStream.send(outputFileMap.description)
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1554 | stderrStream.flush()
1555 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1554:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1552 | if let outputFileMap = self.outputFileMap {
1553 | stderrStream.send(outputFileMap.description)
1554 | 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
1555 | } else {
1556 | diagnosticEngine.emit(.error_no_output_file_map_specified)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1578:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1576 | if parsedOptions.contains(.driverPrintGraphviz) {
1577 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1578 | serializer.writeDOT(to: &stdoutStream)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1579 | stdoutStream.flush()
1580 | return
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1579: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
1577 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1578 | serializer.writeDOT(to: &stdoutStream)
1579 | 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
1580 | return
1581 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1630:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1628 | // versions.
1629 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1630 | stderrStream.send("swift-driver version: \(Driver.driverSourceVersion) ")
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1631 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1632 | stderrStream.send("\(blocklistVersion) ")
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1632:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1630 | stderrStream.send("swift-driver version: \(Driver.driverSourceVersion) ")
1631 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1632 | stderrStream.send("\(blocklistVersion) ")
| `- 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
1633 | }
1634 | stderrStream.flush()
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1634:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1632 | stderrStream.send("\(blocklistVersion) ")
1633 | }
1634 | 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
1635 | }
1636 | // In verbose mode, print out the job
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1640:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1638 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1639 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1640 | stdoutStream.send("\(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
1641 | stdoutStream.flush()
1642 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1641:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1639 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1640 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
1641 | 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
1642 | }
1643 | try executor.execute(job: inPlaceJob,
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1764:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1762 |
1763 | private func printBindings(_ job: Job) {
1764 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1765 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1766 | stdoutStream.send(#"", inputs: ["#)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1765:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1763 | private func printBindings(_ job: Job) {
1764 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
1765 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1766 | stdoutStream.send(#"", inputs: ["#)
1767 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1766:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1764 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
1765 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1766 | stdoutStream.send(#"", inputs: ["#)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1767 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
1768 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1767:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1765 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1766 | stdoutStream.send(#"", inputs: ["#)
1767 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1768 |
1769 | stdoutStream.send("], output: {")
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1769:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1767 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
1768 |
1769 | stdoutStream.send("], output: {")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1770 |
1771 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1771:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1769 | stdoutStream.send("], output: {")
1770 |
1771 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1772 |
1773 | stdoutStream.send("}\n")
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1773:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1771 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
1772 |
1773 | stdoutStream.send("}\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
1774 | stdoutStream.flush()
1775 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1774:5: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1772 |
1773 | stdoutStream.send("}\n")
1774 | 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
1775 | }
1776 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1784: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
1782 | private func printActions(_ jobs: [Job]) {
1783 | defer {
1784 | 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
1785 | }
1786 |
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1844: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
1842 |
1843 | // Print current Job
1844 | stdoutStream.send("\(nextId): ").send(job.kind.rawValue).send(", {")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1845 | switch job.kind {
1846 | // Don't sort for compile jobs. Puts pch last
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1848:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1846 | // Don't sort for compile jobs. Puts pch last
1847 | case .compile:
1848 | stdoutStream.send(inputIds.map(\.description).joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1849 | default:
1850 | stdoutStream.send(inputIds.sorted().map(\.description).joined(separator: ", "))
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1850:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1848 | stdoutStream.send(inputIds.map(\.description).joined(separator: ", "))
1849 | default:
1850 | stdoutStream.send(inputIds.sorted().map(\.description).joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1851 | }
1852 | var typeName = job.outputs.first?.type.name
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1856: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
1854 | typeName = "none"
1855 | }
1856 | stdoutStream.send("}, \(typeName!)\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1857 | jobIdMap[job] = nextId
1858 | nextId += 1
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1864: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
1862 | private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1863 | if inputIdMap[input] == nil {
1864 | stdoutStream.send("\(nextId): input, ")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1865 | stdoutStream.send("\"\(input.file)\", \(input.type)\n")
1866 | inputIdMap[input] = nextId
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1865: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
1863 | if inputIdMap[input] == nil {
1864 | stdoutStream.send("\(nextId): input, ")
1865 | stdoutStream.send("\"\(input.file)\", \(input.type)\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1866 | inputIdMap[input] = nextId
1867 | nextId += 1
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/OutputFileMap.swift:25:14: warning: static property 'singleInputKey' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Mapping of input file paths to specific output files.
24 | public struct OutputFileMap: Hashable, Codable {
25 | static let singleInputKey = try! VirtualPath.intern(path: ".")
| |- warning: static property 'singleInputKey' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleInputKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// The known mapping from input file to specific output files.
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:325:17: note: consider making struct 'Handle' conform to the 'Sendable' protocol
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/OutputFileMap.swift:198:11: warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
196 | private struct CodingKeys: CodingKey {
197 |
198 | let fileType: FileType
| `- warning: stored property 'fileType' of 'Sendable'-conforming struct 'CodingKeys' has non-sendable type 'FileType'; this is an error in the Swift 6 language mode
199 |
200 | init(fileType: FileType) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:17:13: note: consider making enum 'FileType' conform to the 'Sendable' protocol
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:81:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | break
80 | case .verbose:
81 | stdoutStream.send("\(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
82 | stdoutStream.flush()
83 | case .parsableOutput:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:82: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
80 | case .verbose:
81 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
82 | 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
83 | case .parsableOutput:
84 | let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:116:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if !output.isEmpty {
115 | Driver.stdErrQueue.sync {
116 | stderrStream.send(output)
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | stderrStream.flush()
118 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:117:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 | Driver.stdErrQueue.sync {
116 | stderrStream.send(output)
117 | 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
118 | }
119 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | guard let json = try? message.toJSON() else { return }
170 | Driver.stdErrQueue.sync {
171 | stderrStream.send(
| `- 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 | """
173 | \(json.count)
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:178: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
176 | """
177 | )
178 | 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
179 | }
180 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/host/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
[402/424] Compiling SwiftDriver Diagnostics.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[403/424] Compiling SwiftDriver FileList.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[404/424] Compiling SwiftDriver FileType.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[405/424] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[406/424] Compiling SwiftDriver RelativePathAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[407/424] Compiling SwiftDriver Sanitizer.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[408/424] Compiling SwiftDriver StringAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[409/424] Compiling SwiftDriver System.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[410/424] Compiling SwiftDriver Triple+Platforms.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[411/424] Compiling SwiftDriver Triple.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[412/424] Compiling SwiftDriver TypedVirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[413/424] Compiling SwiftDriver Version.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[414/424] Compiling SwiftDriver VirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:296:22: warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
:
294 | extension FileType {
295 |
296 | private static let typesByName = Dictionary(uniqueKeysWithValues: FileType.allCases.map { ($0.name, $0) })
| |- warning: static property 'typesByName' is not concurrency-safe because non-'Sendable' type '[String : FileType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typesByName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | init?(name: String) {
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:413:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
336 | ///
337 | /// - SeeAlso: `Triple.supports(_:)`
338 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
339 |
340 | public enum Availability {
:
411 | /// ARC natively in their respective copies of the Objective-C runtime,
412 | /// and therefore do not require additional support libraries.
413 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
414 | macOS: .available(since: Triple.Version(10, 11, 0)),
415 | iOS: .available(since: Triple.Version(9, 0, 0)),
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:337:23: warning: static property 'null' is 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 |
:
335 | public static let null = try! VirtualPath(path: "nul").intern()
336 | #else
337 | public static let null = try! VirtualPath(path: "/dev/null").intern()
| |- warning: static property 'null' is 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 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | #endif
339 | }
[415/425] Wrapping AST for SwiftDriver for debugging
[416/425] Write Objects.LinkFileList
[417/429] Linking libSwiftDriverDynamic.so
[419/429] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
24 | public final class SwiftDriverExecutor: DriverExecutor {
25 | let diagnosticsEngine: DiagnosticsEngine
26 | let processSet: ProcessSet
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:93:24: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
94 | }
95 |
[420/429] Compiling SwiftDriverExecution llbuild.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
[421/429] Emitting module SwiftDriverExecution
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
80 |
81 | /// The process set to use when launching new processes.
82 | let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
83 |
84 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 | /// The process set to use when launching new processes.
257 | private let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
24 | public final class SwiftDriverExecutor: DriverExecutor {
25 | let diagnosticsEngine: DiagnosticsEngine
26 | let processSet: ProcessSet
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
[422/429] Compiling SwiftDriverExecution MultiJobExecutor.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
80 |
81 | /// The process set to use when launching new processes.
82 | let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
83 |
84 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 | /// The process set to use when launching new processes.
257 | private let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:7: warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
508 | }
509 | /// A rule for a single compiler invocation.
510 | class ExecuteJobRule: LLBuildRule {
| `- note: class 'ExecuteJobRule' does not conform to the 'Sendable' protocol
511 | struct RuleKey: LLBuildKey {
512 | typealias BuildValue = DriverBuildValue
:
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:23: warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:117:7: note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
115 |
116 | // FIXME: Rename to something else.
117 | class LLTaskBuildEngine {
| `- note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
118 |
119 | let engine: TaskBuildEngine
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:661:24: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
659 | if (pendingFinish) {
660 | context.delegateQueue.sync {
661 | let result = ProcessResult(
| `- warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
662 | arguments: [],
663 | environment: env,
[423/430] Wrapping AST for SwiftDriverExecution for debugging
[425/440] Compiling TestUtilities OutputFileMapCreator.swift
[426/440] Emitting module TestUtilities
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
[427/440] Compiling TestUtilities DriverExtensions.swift
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:30:52: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
28 | ) throws {
29 | let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
30 | processSet: ProcessSet(),
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
31 | fileSystem: fileSystem,
32 | env: env)
[428/440] Compiling TestUtilities Fixture.swift
[429/440] Compiling swift_driver main.swift
/host/spi-builder-workspace/Sources/swift-driver/main.swift:60:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
58 | signal(SIGINT, SIG_IGN)
59 | #endif
60 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
61 | interruptSignalSource.setEventHandler {
62 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/host/spi-builder-workspace/Sources/swift-driver/main.swift:71:17: warning: 'vars' is deprecated: Use `block` instead
69 | // Fallback to legacy driver if forced to
70 | if CommandLine.arguments.contains(Option.disallowForwardingDriver.spelling) ||
71 | ProcessEnv.vars["SWIFT_USE_OLD_DRIVER"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead
72 | if let legacyExecutablePath = Process.findExecutable(CommandLine.arguments[0] + "-legacy-driver"),
73 | localFileSystem.exists(legacyExecutablePath) {
/host/spi-builder-workspace/Sources/swift-driver/main.swift:82:17: warning: 'vars' is deprecated: Use `block` instead
80 | }
81 |
82 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead
83 | CommandLine.arguments.append("-explicit-module-build")
84 | }
/host/spi-builder-workspace/Sources/swift-driver/main.swift:83:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
81 |
82 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
83 | 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.
84 | }
85 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:110:58: warning: 'vars' is deprecated: Use `block` instead
108 | processSet: processSet,
109 | fileSystem: localFileSystem,
110 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
111 | var driver = try Driver(args: arguments,
112 | diagnosticsOutput: .engine(diagnosticsEngine),
/host/spi-builder-workspace/Sources/swift-driver/main.swift:43:6: error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
39 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
40 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
41 | var driverInterrupted = false
| `- note: var declared here
42 | func getExitCode(_ code: Int32) -> Int32 {
| `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
43 | if driverInterrupted {
| `- error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
44 | interruptSignalSource.cancel()
45 | #if os(Windows)
/host/spi-builder-workspace/Sources/swift-driver/main.swift:44: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
37 | import var TSCBasic.localFileSystem
38 |
39 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
| `- note: let declared here
40 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
41 | var driverInterrupted = false
42 | func getExitCode(_ code: Int32) -> Int32 {
| `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
43 | if driverInterrupted {
44 | 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
45 | #if os(Windows)
46 | TerminateProcess(GetCurrentProcess(), UINT(0xC0000000 | UINT(2)))
[430/440] Compiling TestUtilities TemporaryFileMatching.swift
[431/440] Compiling TestUtilities PathExtensions.swift
[432/441] Emitting module swift_driver
/host/spi-builder-workspace/Sources/swift-driver/main.swift:60:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
58 | signal(SIGINT, SIG_IGN)
59 | #endif
60 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
61 | interruptSignalSource.setEventHandler {
62 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/host/spi-builder-workspace/Sources/swift-driver/main.swift:71:17: warning: 'vars' is deprecated: Use `block` instead
69 | // Fallback to legacy driver if forced to
70 | if CommandLine.arguments.contains(Option.disallowForwardingDriver.spelling) ||
71 | ProcessEnv.vars["SWIFT_USE_OLD_DRIVER"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead
72 | if let legacyExecutablePath = Process.findExecutable(CommandLine.arguments[0] + "-legacy-driver"),
73 | localFileSystem.exists(legacyExecutablePath) {
/host/spi-builder-workspace/Sources/swift-driver/main.swift:82:17: warning: 'vars' is deprecated: Use `block` instead
80 | }
81 |
82 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead
83 | CommandLine.arguments.append("-explicit-module-build")
84 | }
/host/spi-builder-workspace/Sources/swift-driver/main.swift:83:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
81 |
82 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
83 | 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.
84 | }
85 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:110:58: warning: 'vars' is deprecated: Use `block` instead
108 | processSet: processSet,
109 | fileSystem: localFileSystem,
110 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
111 | var driver = try Driver(args: arguments,
112 | diagnosticsOutput: .engine(diagnosticsEngine),
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:93:34: warning: 'vars' is deprecated: Use `block` instead
91 | try localFileSystem.createDirectory(outputDir, recursive: true)
92 | }
93 | let swiftcPathRaw = ProcessEnv.vars["SWIFT_EXEC"]
| `- warning: 'vars' is deprecated: Use `block` instead
94 | var swiftcPath: AbsolutePath
95 | if let swiftcPathRaw = swiftcPathRaw {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:127:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
125 | .appending(component: "SystemVersion.plist"),
126 | to: sysVersionFile)
127 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
128 | let inputTuple = try collector.collectSwiftInterfaceMap()
129 | let allAdopters = inputTuple.adopters
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:144:60: warning: 'vars' is deprecated: Use `block` instead
142 | processSet: processSet,
143 | fileSystem: localFileSystem,
144 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
145 | var args = ["swiftc",
146 | "-target", collector.targetTriple,
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:170:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 | if verbose {
169 | Driver.stdErrQueue.sync {
170 | stderrStream.send("job count: \(jobs.count + danglingJobs.count)\n")
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 | stderrStream.flush()
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:828:12: note: var declared here
826 |
827 | /// Public stderr stream instance.
828 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
829 | filePointer: TSCLibc.stderr,
830 | closeOnDeinit: false))
BUILD FAILURE 6.0 linux