Build Information
Failed to build swift-driver, reference main (317692
), with Swift 6.0 for macOS (SPM) on 18 Sep 2024 17:13:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
1778 |
1779 | stdoutStream.send("], output: {")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1779: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
1777 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
1778 |
1779 | 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
1780 |
1781 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1781: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
1779 | stdoutStream.send("], output: {")
1780 |
1781 | 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
1782 |
1783 | stdoutStream.send("}\n")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1783: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
1781 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
1782 |
1783 | 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
1784 | stdoutStream.flush()
1785 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1784: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
1782 |
1783 | stdoutStream.send("}\n")
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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1794: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
1792 | private mutating func printActions(_ jobs: [Job]) {
1793 | defer {
1794 | 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
1795 | }
1796 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1854: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
1852 |
1853 | // Print current Job
1854 | 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
1855 | switch job.kind {
1856 | // Don't sort for compile jobs. Puts pch last
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1858: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
1856 | // Don't sort for compile jobs. Puts pch last
1857 | case .compile:
1858 | 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
1859 | default:
1860 | stdoutStream.send(inputIds.sorted().map(\.description).joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1860: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
1858 | stdoutStream.send(inputIds.map(\.description).joined(separator: ", "))
1859 | default:
1860 | 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
1861 | }
1862 | var typeName = job.outputs.first?.type.name
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1866: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
1864 | typeName = "none"
1865 | }
1866 | 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
1867 | jobIdMap[job] = nextId
1868 | nextId += 1
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1874: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
1872 | private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1873 | if inputIdMap[input] == nil {
1874 | 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
1875 | stdoutStream.send("\"\(input.file)\", \(input.type)\n")
1876 | inputIdMap[input] = nextId
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1875: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
1873 | if inputIdMap[input] == nil {
1874 | stdoutStream.send("\(nextId): input, ")
1875 | 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
1876 | inputIdMap[input] = nextId
1877 | nextId += 1
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:83: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
81 | break
82 | case .verbose:
83 | 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
84 | stdoutStream.flush()
85 | case .parsableOutput:
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:84: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
82 | case .verbose:
83 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
84 | 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
85 | case .parsableOutput:
86 | let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:118: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
116 | if !output.isEmpty {
117 | Driver.stdErrQueue.sync {
118 | 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
119 | stderrStream.flush()
120 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:119: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
117 | Driver.stdErrQueue.sync {
118 | stderrStream.send(output)
119 | 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
120 | }
121 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:177: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
175 | guard let json = try? message.toJSON() else { return }
176 | Driver.stdErrQueue.sync {
177 | 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
178 | """
179 | \(json.count)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:184: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
182 | """
183 | )
184 | 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
185 | }
186 | }
/Users/admin/builder/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))
[415/436] Compiling SwiftDriver ArgsResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ArgsResolver.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
18 | import struct TSCBasic.SHA256
19 |
20 | @_implementationOnly import Yams
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
21 |
22 | /// How the resolver is to handle usage of response files
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:531: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
529 |
530 | /// Handler for emitting diagnostics to stderr.
531 | 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
532 | stdErrQueue.sync {
533 | let stream = stderrStream
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:533: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
531 | public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
532 | stdErrQueue.sync {
533 | 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
534 | if !(diagnostic.location is UnknownLocation) {
535 | stream.send("\(diagnostic.location.description): ")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1541: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
1539 | ) throws {
1540 | if parsedOptions.hasArgument(.v) {
1541 | 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
1542 | }
1543 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1563: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
1561 | if parsedOptions.contains(.driverPrintOutputFileMap) {
1562 | if let outputFileMap = self.outputFileMap {
1563 | 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
1564 | stderrStream.flush()
1565 | } else {
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1564: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
1562 | if let outputFileMap = self.outputFileMap {
1563 | stderrStream.send(outputFileMap.description)
1564 | 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
1565 | } else {
1566 | diagnosticEngine.emit(.error_no_output_file_map_specified)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1588: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
1586 | if parsedOptions.contains(.driverPrintGraphviz) {
1587 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1588 | 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
1589 | stdoutStream.flush()
1590 | return
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1589: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
1587 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1588 | serializer.writeDOT(to: &stdoutStream)
1589 | 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
1590 | return
1591 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1640: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
1638 | // versions.
1639 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1640 | 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
1641 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1642 | stderrStream.send("\(blocklistVersion) ")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1642: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
1640 | stderrStream.send("swift-driver version: \(Driver.driverSourceVersion) ")
1641 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1642 | 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
1643 | }
1644 | stderrStream.flush()
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1644: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
1642 | stderrStream.send("\(blocklistVersion) ")
1643 | }
1644 | 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
1645 | }
1646 | // In verbose mode, print out the job
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1650: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
1648 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1649 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1650 | 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
1651 | stdoutStream.flush()
1652 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1651:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1649 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1650 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
1651 | 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
1652 | }
1653 | try executor.execute(job: inPlaceJob,
/Users/admin/builder/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))
/Users/admin/builder/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 | private func printBindings(_ job: Job) {
1774 | 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
1775 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1776 | stdoutStream.send(#"", inputs: ["#)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1775: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
1773 | private func printBindings(_ job: Job) {
1774 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
1775 | 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
1776 | stdoutStream.send(#"", inputs: ["#)
1777 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1776: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
1774 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
1775 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1776 | 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
1777 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
1778 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1777: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
1775 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1776 | stdoutStream.send(#"", inputs: ["#)
1777 | 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
1778 |
1779 | stdoutStream.send("], output: {")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1779: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
1777 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
1778 |
1779 | 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
1780 |
1781 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1781: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
1779 | stdoutStream.send("], output: {")
1780 |
1781 | 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
1782 |
1783 | stdoutStream.send("}\n")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1783: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
1781 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
1782 |
1783 | 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
1784 | stdoutStream.flush()
1785 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1784: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
1782 |
1783 | stdoutStream.send("}\n")
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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1794: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
1792 | private mutating func printActions(_ jobs: [Job]) {
1793 | defer {
1794 | 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
1795 | }
1796 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1854: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
1852 |
1853 | // Print current Job
1854 | 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
1855 | switch job.kind {
1856 | // Don't sort for compile jobs. Puts pch last
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1858: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
1856 | // Don't sort for compile jobs. Puts pch last
1857 | case .compile:
1858 | 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
1859 | default:
1860 | stdoutStream.send(inputIds.sorted().map(\.description).joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1860: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
1858 | stdoutStream.send(inputIds.map(\.description).joined(separator: ", "))
1859 | default:
1860 | 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
1861 | }
1862 | var typeName = job.outputs.first?.type.name
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1866: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
1864 | typeName = "none"
1865 | }
1866 | 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
1867 | jobIdMap[job] = nextId
1868 | nextId += 1
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1874: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
1872 | private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1873 | if inputIdMap[input] == nil {
1874 | 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
1875 | stdoutStream.send("\"\(input.file)\", \(input.type)\n")
1876 | inputIdMap[input] = nextId
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1875: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
1873 | if inputIdMap[input] == nil {
1874 | stdoutStream.send("\(nextId): input, ")
1875 | 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
1876 | inputIdMap[input] = nextId
1877 | nextId += 1
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:83: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
81 | break
82 | case .verbose:
83 | 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
84 | stdoutStream.flush()
85 | case .parsableOutput:
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:84: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
82 | case .verbose:
83 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
84 | 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
85 | case .parsableOutput:
86 | let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:118: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
116 | if !output.isEmpty {
117 | Driver.stdErrQueue.sync {
118 | 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
119 | stderrStream.flush()
120 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:119: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
117 | Driver.stdErrQueue.sync {
118 | stderrStream.send(output)
119 | 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
120 | }
121 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:177: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
175 | guard let json = try? message.toJSON() else { return }
176 | Driver.stdErrQueue.sync {
177 | 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
178 | """
179 | \(json.count)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:184: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
182 | """
183 | )
184 | 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
185 | }
186 | }
/Users/admin/builder/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))
[416/436] Compiling SwiftDriver DriverExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ArgsResolver.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
18 | import struct TSCBasic.SHA256
19 |
20 | @_implementationOnly import Yams
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
21 |
22 | /// How the resolver is to handle usage of response files
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:531: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
529 |
530 | /// Handler for emitting diagnostics to stderr.
531 | 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
532 | stdErrQueue.sync {
533 | let stream = stderrStream
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:533: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
531 | public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
532 | stdErrQueue.sync {
533 | 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
534 | if !(diagnostic.location is UnknownLocation) {
535 | stream.send("\(diagnostic.location.description): ")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1541: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
1539 | ) throws {
1540 | if parsedOptions.hasArgument(.v) {
1541 | 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
1542 | }
1543 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1563: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
1561 | if parsedOptions.contains(.driverPrintOutputFileMap) {
1562 | if let outputFileMap = self.outputFileMap {
1563 | 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
1564 | stderrStream.flush()
1565 | } else {
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1564: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
1562 | if let outputFileMap = self.outputFileMap {
1563 | stderrStream.send(outputFileMap.description)
1564 | 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
1565 | } else {
1566 | diagnosticEngine.emit(.error_no_output_file_map_specified)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1588: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
1586 | if parsedOptions.contains(.driverPrintGraphviz) {
1587 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1588 | 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
1589 | stdoutStream.flush()
1590 | return
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1589: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
1587 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1588 | serializer.writeDOT(to: &stdoutStream)
1589 | 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
1590 | return
1591 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1640: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
1638 | // versions.
1639 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1640 | 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
1641 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1642 | stderrStream.send("\(blocklistVersion) ")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1642: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
1640 | stderrStream.send("swift-driver version: \(Driver.driverSourceVersion) ")
1641 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1642 | 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
1643 | }
1644 | stderrStream.flush()
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1644: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
1642 | stderrStream.send("\(blocklistVersion) ")
1643 | }
1644 | 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
1645 | }
1646 | // In verbose mode, print out the job
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1650: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
1648 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1649 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1650 | 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
1651 | stdoutStream.flush()
1652 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1651:9: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1649 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1650 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
1651 | 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
1652 | }
1653 | try executor.execute(job: inPlaceJob,
/Users/admin/builder/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))
/Users/admin/builder/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 | private func printBindings(_ job: Job) {
1774 | 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
1775 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1776 | stdoutStream.send(#"", inputs: ["#)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1775: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
1773 | private func printBindings(_ job: Job) {
1774 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
1775 | 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
1776 | stdoutStream.send(#"", inputs: ["#)
1777 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1776: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
1774 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
1775 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1776 | 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
1777 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
1778 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1777: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
1775 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
1776 | stdoutStream.send(#"", inputs: ["#)
1777 | 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
1778 |
1779 | stdoutStream.send("], output: {")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1779: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
1777 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
1778 |
1779 | 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
1780 |
1781 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1781: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
1779 | stdoutStream.send("], output: {")
1780 |
1781 | 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
1782 |
1783 | stdoutStream.send("}\n")
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1783: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
1781 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
1782 |
1783 | 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
1784 | stdoutStream.flush()
1785 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1784: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
1782 |
1783 | stdoutStream.send("}\n")
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 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1794: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
1792 | private mutating func printActions(_ jobs: [Job]) {
1793 | defer {
1794 | 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
1795 | }
1796 |
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1854: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
1852 |
1853 | // Print current Job
1854 | 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
1855 | switch job.kind {
1856 | // Don't sort for compile jobs. Puts pch last
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1858: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
1856 | // Don't sort for compile jobs. Puts pch last
1857 | case .compile:
1858 | 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
1859 | default:
1860 | stdoutStream.send(inputIds.sorted().map(\.description).joined(separator: ", "))
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1860: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
1858 | stdoutStream.send(inputIds.map(\.description).joined(separator: ", "))
1859 | default:
1860 | 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
1861 | }
1862 | var typeName = job.outputs.first?.type.name
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1866: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
1864 | typeName = "none"
1865 | }
1866 | 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
1867 | jobIdMap[job] = nextId
1868 | nextId += 1
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1874: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
1872 | private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1873 | if inputIdMap[input] == nil {
1874 | 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
1875 | stdoutStream.send("\"\(input.file)\", \(input.type)\n")
1876 | inputIdMap[input] = nextId
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1875: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
1873 | if inputIdMap[input] == nil {
1874 | stdoutStream.send("\(nextId): input, ")
1875 | 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
1876 | inputIdMap[input] = nextId
1877 | nextId += 1
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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.
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:83: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
81 | break
82 | case .verbose:
83 | 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
84 | stdoutStream.flush()
85 | case .parsableOutput:
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:84: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
82 | case .verbose:
83 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
84 | 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
85 | case .parsableOutput:
86 | let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:118: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
116 | if !output.isEmpty {
117 | Driver.stdErrQueue.sync {
118 | 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
119 | stderrStream.flush()
120 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:119: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
117 | Driver.stdErrQueue.sync {
118 | stderrStream.send(output)
119 | 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
120 | }
121 | }
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:177: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
175 | guard let json = try? message.toJSON() else { return }
176 | Driver.stdErrQueue.sync {
177 | 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
178 | """
179 | \(json.count)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:184: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
182 | """
183 | )
184 | 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
185 | }
186 | }
/Users/admin/builder/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))
[417/436] Compiling SwiftDriver FileType.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[418/436] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[419/436] Compiling SwiftDriver RelativePathAdditions.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[420/436] Compiling SwiftDriver Sanitizer.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[421/436] Compiling SwiftDriver StringAdditions.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[422/436] Compiling SwiftDriver System.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[423/436] Compiling SwiftDriver Triple+Platforms.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[424/436] Compiling SwiftDriver Triple.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[425/436] Compiling SwiftDriver TypedVirtualPath.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[426/436] Compiling SwiftDriver Version.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[427/436] Compiling SwiftDriver VirtualPath.swift
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | #if os(Windows)
335 | public static let null = try! VirtualPath(path: "nul").intern()
/Users/admin/builder/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 | }
[427/436] Write Objects.LinkFileList
[428/440] Compiling ToolingTestShim CToolingTestShimImpl.c
[430/440] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
[431/440] Compiling SwiftDriverExecution llbuild.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
[431/440] Linking libSwiftDriverDynamic.dylib
[433/440] Emitting module SwiftDriverExecution
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
[434/440] Compiling SwiftDriverExecution MultiJobExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:7: warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
508 | }
509 | /// A rule for a single compiler invocation.
510 | class ExecuteJobRule: LLBuildRule {
| `- note: class 'ExecuteJobRule' does not conform to the 'Sendable' protocol
511 | struct RuleKey: LLBuildKey {
512 | typealias BuildValue = DriverBuildValue
:
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:23: warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:117:7: note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
115 |
116 | // FIXME: Rename to something else.
117 | class LLTaskBuildEngine {
| `- note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
118 |
119 | let engine: TaskBuildEngine
[435/450] Compiling swift_driver main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:87:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
85 |
86 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
87 | 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.
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:47:6: error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
43 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
44 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
45 | var driverInterrupted = false
| `- note: var declared here
46 | func getExitCode(_ code: Int32) -> Int32 {
| `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
47 | if driverInterrupted {
| `- error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
48 | interruptSignalSource.cancel()
49 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:48: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
41 | import var TSCBasic.localFileSystem
42 |
43 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
| `- note: let declared here
44 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
45 | var driverInterrupted = false
46 | func getExitCode(_ code: Int32) -> Int32 {
| `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
47 | if driverInterrupted {
48 | 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
49 | #if os(Windows)
50 | TerminateProcess(GetCurrentProcess(), UINT(0xC0000000 | UINT(2)))
[436/450] Emitting module TestUtilities
[437/450] Emitting module swift_driver
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:87:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
85 |
86 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
87 | 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.
88 | }
89 |
[438/450] Compiling TestUtilities PathExtensions.swift
[439/450] Compiling TestUtilities DriverExtensions.swift
[440/450] Compiling TestUtilities TemporaryFileMatching.swift
[441/450] Compiling TestUtilities Fixture.swift
[442/450] Compiling TestUtilities OutputFileMapCreator.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:197: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
195 | if verbose {
196 | Driver.stdErrQueue.sync {
197 | 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
198 | stderrStream.flush()
199 | }
/Users/admin/builder/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))
Fetching https://github.com/apple/swift-llbuild.git
[1/23413] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.29s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6460] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.37s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/3638] Fetching swift-system
[620/13434] Fetching swift-system, yams
[1749/25620] Fetching swift-system, yams, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.00s)
[440/21982] Fetching yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (2.26s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.51s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.72s)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at main (a3b8d34)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at main (3b13e43)
BUILD FAILURE 6.0 macosSpm