Build Information
Failed to build swift-driver, reference 0.50800.0 (2353b3
), with Swift 6.0 (beta) for macOS (SPM) on 15 Sep 2024 02:58:06 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
1555 | stdoutStream <<< nextId <<< ": " <<< "input, "
1556 | stdoutStream <<< "\"" <<< 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
1557 | inputIdMap[input] = nextId
1558 | nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
/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:80: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
78 | break
79 | case .verbose:
80 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | stdoutStream.flush()
82 | case .parsableOutput:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:81:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | case .verbose:
80 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
81 | 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
82 | case .parsableOutput:
83 | 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:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:115: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
113 | if !output.isEmpty {
114 | Driver.stdErrQueue.sync {
115 | stderrStream <<< 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
116 | stderrStream.flush()
117 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:116:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | Driver.stdErrQueue.sync {
115 | stderrStream <<< output
116 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:170:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 | guard let json = try? message.toJSON() else { return }
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 | stderrStream.flush()
173 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:172:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
[410/429] 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.AbsolutePath
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:44: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
42 | case integratedReplRemoved
43 | case cannotSpecify_OForMultipleOutputs
44 | 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
45 | case unableToLoadOutputFileMap(String, String)
46 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
33 |
34 | /// Describes a command-line option.
35 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
36 | /// The kind of option we have, which determines how it will be parsed.
37 | 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:44: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
42 | case integratedReplRemoved
43 | case cannotSpecify_OForMultipleOutputs
44 | 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
45 | case unableToLoadOutputFileMap(String, String)
46 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
33 |
34 | /// Describes a command-line option.
35 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
36 | /// The kind of option we have, which determines how it will be parsed.
37 | 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:412: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
410 |
411 | /// Handler for emitting diagnostics to stderr.
412 | 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
413 | stdErrQueue.sync {
414 | let stream = stderrStream
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:414: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
412 | public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
413 | stdErrQueue.sync {
414 | 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
415 | if !(diagnostic.location is UnknownLocation) {
416 | stream <<< diagnostic.location.description <<< ": "
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:462:30: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
460 | env: [String: String] = ProcessEnv.vars,
461 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
462 | fileSystem: FileSystem = localFileSystem,
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
463 | executor: DriverExecutor,
464 | integratedDriver: Bool = true,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1271: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
1269 | ) throws {
1270 | if parsedOptions.hasArgument(.v) {
1271 | 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
1272 | }
1273 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1286: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
1284 | if parsedOptions.contains(.driverPrintOutputFileMap) {
1285 | if let outputFileMap = self.outputFileMap {
1286 | stderrStream <<< 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
1287 | stderrStream.flush()
1288 | } else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1287: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
1285 | if let outputFileMap = self.outputFileMap {
1286 | stderrStream <<< outputFileMap.description
1287 | 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
1288 | } else {
1289 | diagnosticEngine.emit(.error_no_output_file_map_specified)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1311: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
1309 | if parsedOptions.contains(.driverPrintGraphviz) {
1310 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1311 | 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
1312 | stdoutStream.flush()
1313 | return
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1312: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
1310 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1311 | serializer.writeDOT(to: &stdoutStream)
1312 | 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
1313 | return
1314 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1363: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
1361 | // versions.
1362 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1363 | stderrStream <<< "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
1364 | stderrStream.flush()
1365 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1364: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
1362 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1363 | stderrStream <<< "swift-driver version: " <<< Driver.driverSourceVersion <<< " "
1364 | 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
1365 | }
1366 | // In verbose mode, print out the job
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1370: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
1368 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1369 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1370 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1371 | stdoutStream.flush()
1372 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1371: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
1369 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1370 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
1371 | 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
1372 | }
1373 | try executor.execute(job: inPlaceJob,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1454: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
1452 |
1453 | private func printBindings(_ job: Job) {
1454 | stdoutStream <<< #"# ""# <<< 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
1455 | stdoutStream <<< #"" - ""# <<< job.tool.basename
1456 | stdoutStream <<< #"", inputs: ["#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1455: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
1453 | private func printBindings(_ job: Job) {
1454 | stdoutStream <<< #"# ""# <<< targetTriple.triple
1455 | stdoutStream <<< #"" - ""# <<< 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
1456 | stdoutStream <<< #"", inputs: ["#
1457 | stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1456: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
1454 | stdoutStream <<< #"# ""# <<< targetTriple.triple
1455 | stdoutStream <<< #"" - ""# <<< job.tool.basename
1456 | stdoutStream <<< #"", 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
1457 | stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1458 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1457: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
1455 | stdoutStream <<< #"" - ""# <<< job.tool.basename
1456 | stdoutStream <<< #"", inputs: ["#
1457 | stdoutStream <<< 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
1458 |
1459 | stdoutStream <<< "], output: {"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1459: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
1457 | stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1458 |
1459 | stdoutStream <<< "], 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
1460 |
1461 | stdoutStream <<< 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:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1461: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
1459 | stdoutStream <<< "], output: {"
1460 |
1461 | stdoutStream <<< 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
1462 |
1463 | stdoutStream <<< "}"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1463: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
1461 | stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
1462 |
1463 | 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
1464 | stdoutStream <<< "\n"
1465 | stdoutStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1464: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
1462 |
1463 | stdoutStream <<< "}"
1464 | stdoutStream <<< "\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
1465 | stdoutStream.flush()
1466 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1465: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
1463 | stdoutStream <<< "}"
1464 | stdoutStream <<< "\n"
1465 | 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
1466 | }
1467 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1475: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
1473 | private func printActions(_ jobs: [Job]) {
1474 | defer {
1475 | 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
1476 | }
1477 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1535: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
1533 |
1534 | // Print current Job
1535 | stdoutStream <<< nextId <<< ": " <<< job.kind.rawValue <<< ", {"
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1536 | switch job.kind {
1537 | // 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:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1539: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
1537 | // Don't sort for compile jobs. Puts pch last
1538 | case .compile:
1539 | stdoutStream <<< 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
1540 | default:
1541 | stdoutStream <<< inputIds.sorted().map(\.description).joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1541: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
1539 | stdoutStream <<< inputIds.map(\.description).joined(separator: ", ")
1540 | default:
1541 | stdoutStream <<< 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
1542 | }
1543 | var typeName = job.outputs.first?.type.name
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1547: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
1545 | typeName = "none"
1546 | }
1547 | stdoutStream <<< "}, " <<< 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
1548 | jobIdMap[job] = nextId
1549 | nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1555: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
1553 | private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1554 | if inputIdMap[input] == nil {
1555 | stdoutStream <<< 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
1556 | stdoutStream <<< "\"" <<< input.file <<< "\", " <<< input.type <<< "\n"
1557 | inputIdMap[input] = nextId
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1556: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
1554 | if inputIdMap[input] == nil {
1555 | stdoutStream <<< nextId <<< ": " <<< "input, "
1556 | stdoutStream <<< "\"" <<< 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
1557 | inputIdMap[input] = nextId
1558 | nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
/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:80: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
78 | break
79 | case .verbose:
80 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | stdoutStream.flush()
82 | case .parsableOutput:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:81:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | case .verbose:
80 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
81 | 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
82 | case .parsableOutput:
83 | 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:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:115: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
113 | if !output.isEmpty {
114 | Driver.stdErrQueue.sync {
115 | stderrStream <<< 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
116 | stderrStream.flush()
117 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:116:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | Driver.stdErrQueue.sync {
115 | stderrStream <<< output
116 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:170:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 | guard let json = try? message.toJSON() else { return }
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 | stderrStream.flush()
173 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:172:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
[411/429] 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.AbsolutePath
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:44: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
42 | case integratedReplRemoved
43 | case cannotSpecify_OForMultipleOutputs
44 | 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
45 | case unableToLoadOutputFileMap(String, String)
46 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
33 |
34 | /// Describes a command-line option.
35 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
36 | /// The kind of option we have, which determines how it will be parsed.
37 | 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:44: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
42 | case integratedReplRemoved
43 | case cannotSpecify_OForMultipleOutputs
44 | 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
45 | case unableToLoadOutputFileMap(String, String)
46 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:35:15: note: struct 'Option' does not conform to the 'Sendable' protocol
33 |
34 | /// Describes a command-line option.
35 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
36 | /// The kind of option we have, which determines how it will be parsed.
37 | 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:412: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
410 |
411 | /// Handler for emitting diagnostics to stderr.
412 | 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
413 | stdErrQueue.sync {
414 | let stream = stderrStream
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:414: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
412 | public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
413 | stdErrQueue.sync {
414 | 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
415 | if !(diagnostic.location is UnknownLocation) {
416 | stream <<< diagnostic.location.description <<< ": "
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:462:30: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
460 | env: [String: String] = ProcessEnv.vars,
461 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
462 | fileSystem: FileSystem = localFileSystem,
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
463 | executor: DriverExecutor,
464 | integratedDriver: Bool = true,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1271: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
1269 | ) throws {
1270 | if parsedOptions.hasArgument(.v) {
1271 | 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
1272 | }
1273 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1286: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
1284 | if parsedOptions.contains(.driverPrintOutputFileMap) {
1285 | if let outputFileMap = self.outputFileMap {
1286 | stderrStream <<< 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
1287 | stderrStream.flush()
1288 | } else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1287: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
1285 | if let outputFileMap = self.outputFileMap {
1286 | stderrStream <<< outputFileMap.description
1287 | 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
1288 | } else {
1289 | diagnosticEngine.emit(.error_no_output_file_map_specified)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1311: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
1309 | if parsedOptions.contains(.driverPrintGraphviz) {
1310 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1311 | 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
1312 | stdoutStream.flush()
1313 | return
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1312: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
1310 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1311 | serializer.writeDOT(to: &stdoutStream)
1312 | 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
1313 | return
1314 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1363: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
1361 | // versions.
1362 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1363 | stderrStream <<< "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
1364 | stderrStream.flush()
1365 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1364: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
1362 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1363 | stderrStream <<< "swift-driver version: " <<< Driver.driverSourceVersion <<< " "
1364 | 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
1365 | }
1366 | // In verbose mode, print out the job
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1370: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
1368 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1369 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1370 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1371 | stdoutStream.flush()
1372 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1371: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
1369 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1370 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
1371 | 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
1372 | }
1373 | try executor.execute(job: inPlaceJob,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1454: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
1452 |
1453 | private func printBindings(_ job: Job) {
1454 | stdoutStream <<< #"# ""# <<< 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
1455 | stdoutStream <<< #"" - ""# <<< job.tool.basename
1456 | stdoutStream <<< #"", inputs: ["#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1455: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
1453 | private func printBindings(_ job: Job) {
1454 | stdoutStream <<< #"# ""# <<< targetTriple.triple
1455 | stdoutStream <<< #"" - ""# <<< 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
1456 | stdoutStream <<< #"", inputs: ["#
1457 | stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1456: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
1454 | stdoutStream <<< #"# ""# <<< targetTriple.triple
1455 | stdoutStream <<< #"" - ""# <<< job.tool.basename
1456 | stdoutStream <<< #"", 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
1457 | stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1458 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1457: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
1455 | stdoutStream <<< #"" - ""# <<< job.tool.basename
1456 | stdoutStream <<< #"", inputs: ["#
1457 | stdoutStream <<< 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
1458 |
1459 | stdoutStream <<< "], output: {"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1459: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
1457 | stdoutStream <<< job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", ")
1458 |
1459 | stdoutStream <<< "], 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
1460 |
1461 | stdoutStream <<< 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:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1461: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
1459 | stdoutStream <<< "], output: {"
1460 |
1461 | stdoutStream <<< 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
1462 |
1463 | stdoutStream <<< "}"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1463: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
1461 | stdoutStream <<< job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", ")
1462 |
1463 | 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
1464 | stdoutStream <<< "\n"
1465 | stdoutStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1464: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
1462 |
1463 | stdoutStream <<< "}"
1464 | stdoutStream <<< "\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
1465 | stdoutStream.flush()
1466 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1465: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
1463 | stdoutStream <<< "}"
1464 | stdoutStream <<< "\n"
1465 | 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
1466 | }
1467 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1475: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
1473 | private func printActions(_ jobs: [Job]) {
1474 | defer {
1475 | 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
1476 | }
1477 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1535: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
1533 |
1534 | // Print current Job
1535 | stdoutStream <<< nextId <<< ": " <<< job.kind.rawValue <<< ", {"
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1536 | switch job.kind {
1537 | // 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:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1539: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
1537 | // Don't sort for compile jobs. Puts pch last
1538 | case .compile:
1539 | stdoutStream <<< 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
1540 | default:
1541 | stdoutStream <<< inputIds.sorted().map(\.description).joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1541: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
1539 | stdoutStream <<< inputIds.map(\.description).joined(separator: ", ")
1540 | default:
1541 | stdoutStream <<< 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
1542 | }
1543 | var typeName = job.outputs.first?.type.name
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1547: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
1545 | typeName = "none"
1546 | }
1547 | stdoutStream <<< "}, " <<< 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
1548 | jobIdMap[job] = nextId
1549 | nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1555: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
1553 | private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
1554 | if inputIdMap[input] == nil {
1555 | stdoutStream <<< 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
1556 | stdoutStream <<< "\"" <<< input.file <<< "\", " <<< input.type <<< "\n"
1557 | inputIdMap[input] = nextId
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1556: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
1554 | if inputIdMap[input] == nil {
1555 | stdoutStream <<< nextId <<< ": " <<< "input, "
1556 | stdoutStream <<< "\"" <<< 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
1557 | inputIdMap[input] = nextId
1558 | nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
/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:80: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
78 | break
79 | case .verbose:
80 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | stdoutStream.flush()
82 | case .parsableOutput:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:81:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | case .verbose:
80 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
81 | 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
82 | case .parsableOutput:
83 | 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:790:12: note: var declared here
788 |
789 | /// Public stdout stream instance.
790 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
791 | filePointer: TSCLibc.stdout,
792 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:115: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
113 | if !output.isEmpty {
114 | Driver.stdErrQueue.sync {
115 | stderrStream <<< 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
116 | stderrStream.flush()
117 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:116:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | Driver.stdErrQueue.sync {
115 | stderrStream <<< output
116 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:170:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 | guard let json = try? message.toJSON() else { return }
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:171:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | Driver.stdErrQueue.sync {
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
172 | stderrStream.flush()
173 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:172:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
170 | stderrStream <<< json.count <<< "\n"
171 | stderrStream <<< String(data: json, encoding: .utf8)! <<< "\n"
172 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
[412/429] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[413/429] Compiling SwiftDriver RelativePathAdditions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[414/429] Compiling SwiftDriver Sanitizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[415/429] Compiling SwiftDriver StringAdditions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[416/429] Compiling SwiftDriver System.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[417/429] Compiling SwiftDriver Triple+Platforms.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[418/429] Compiling SwiftDriver Triple.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[419/429] Compiling SwiftDriver TypedVirtualPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[420/429] Compiling SwiftDriver VersionExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[421/429] Compiling SwiftDriver VirtualPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple+Platforms.swift:411:14: warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
334 | ///
335 | /// - SeeAlso: `Triple.supports(_:)`
336 | public struct FeatureAvailability {
| `- note: consider making struct 'FeatureAvailability' conform to the 'Sendable' protocol
337 |
338 | public enum Availability {
:
409 | /// ARC natively in their respective copies of the Objective-C runtime,
410 | /// and therefore do not require additional support libraries.
411 | static let nativeARC = Self(
| |- warning: static property 'nativeARC' is not concurrency-safe because non-'Sendable' type 'Triple.FeatureAvailability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nativeARC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | macOS: .available(since: Triple.Version(10, 11, 0)),
413 | iOS: .available(since: Triple.Version(9, 0, 0)),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/Triple.swift:64:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// Represents a version that may be present in the target triple.
63 | public struct Version: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
64 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Triple.Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | public var major: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:33:22: warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// A virtual path.
32 | public enum VirtualPath: Hashable {
33 | private static var pathCache = PathCache()
| |- warning: static property 'pathCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pathCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:35:22: warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | private static var pathCache = PathCache()
34 |
35 | private static var temporaryFileStore = TemporaryFileStore()
| |- warning: static property 'temporaryFileStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporaryFileStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporaryFileStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// A relative path that has not been resolved based on the current working
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:332:23: warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
330 | }
331 |
332 | public static let standardOutput = Handle(-1)
| |- warning: static property 'standardOutput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | public static let standardInput = Handle(-2)
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:333:23: warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
323 | /// in the global path table ensures we only pay the cost at most once per
324 | /// path string.
325 | public struct Handle {
| `- note: consider making struct 'Handle' conform to the 'Sendable' protocol
326 | fileprivate var core: Int
327 |
:
331 |
332 | public static let standardOutput = Handle(-1)
333 | public static let standardInput = Handle(-2)
| |- warning: static property 'standardInput' is not concurrency-safe because non-'Sendable' type 'VirtualPath.Handle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardInput' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | }
335 |
[421/429] Write Objects.LinkFileList
[423/433] Compiling SwiftDriverExecution llbuild.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
[423/433] Linking libSwiftDriverDynamic.dylib
[425/433] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
[426/433] Compiling SwiftDriverExecution MultiJobExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:7: warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
508 | }
509 | /// A rule for a single compiler invocation.
510 | class ExecuteJobRule: LLBuildRule {
| `- note: class 'ExecuteJobRule' does not conform to the 'Sendable' protocol
511 | struct RuleKey: LLBuildKey {
512 | typealias BuildValue = DriverBuildValue
:
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'self' with non-sendable type 'ExecuteJobRule' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:561:23: warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
559 | // is we should call it after inputsAvailable is called.
560 | context.jobQueue.addOperation {
561 | self.executeJob(engine)
| `- warning: capture of 'engine' with non-sendable type 'LLTaskBuildEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
562 | }
563 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:117:7: note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
115 |
116 | // FIXME: Rename to something else.
117 | class LLTaskBuildEngine {
| `- note: class 'LLTaskBuildEngine' does not conform to the 'Sendable' protocol
118 |
119 | let engine: TaskBuildEngine
[427/433] Emitting module SwiftDriverExecution
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
31 | // We either import the llbuildSwift shared library or the llbuild framework.
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
34 | @_implementationOnly import llbuild
35 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
22 | // We either import the llbuildSwift shared library or the llbuild framework.
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
25 | @_implementationOnly import llbuild
26 | #else
[428/443] Emitting module swift_driver
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:68:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
66 |
67 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
68 | CommandLine.arguments.append("-explicit-module-build")
| `- warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:80:11: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | guard let subcommandPath = subcommandPath,
80 | localFileSystem.exists(subcommandPath) else {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | throw Driver.Error.unknownOrMissingSubcommand(subcommand)
82 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:94:54: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
93 | processSet: processSet,
94 | fileSystem: localFileSystem,
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | env: ProcessEnv.vars)
96 | var driver = try Driver(args: arguments,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
[429/443] Compiling swift_driver main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:68:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
66 |
67 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
68 | CommandLine.arguments.append("-explicit-module-build")
| `- warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:80:11: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | guard let subcommandPath = subcommandPath,
80 | localFileSystem.exists(subcommandPath) else {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | throw Driver.Error.unknownOrMissingSubcommand(subcommand)
82 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:94:54: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
93 | processSet: processSet,
94 | fileSystem: localFileSystem,
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | env: ProcessEnv.vars)
96 | var driver = try Driver(args: arguments,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:41:6: error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
37 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
38 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
39 | var driverInterrupted = false
| `- note: var declared here
40 | func getExitCode(_ code: Int32) -> Int32 {
| `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
41 | if driverInterrupted {
| `- error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
42 | interruptSignalSource.cancel()
43 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:42:5: warning: main actor-isolated let 'interruptSignalSource' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | import enum TSCUtility.Diagnostics
36 |
37 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
| `- note: let declared here
38 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
39 | var driverInterrupted = false
40 | func getExitCode(_ code: Int32) -> Int32 {
| `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
41 | if driverInterrupted {
42 | interruptSignalSource.cancel()
| `- warning: main actor-isolated let 'interruptSignalSource' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | #if os(Windows)
44 | TerminateProcess(GetCurrentProcess(), UINT(0xC0000000 | UINT(2)))
[430/443] Compiling TestUtilities PathExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:85:17: warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
83 | // the SDK-versioned sub-directory.
84 | if outputDir.basename == "prebuilt-modules" {
85 | outputDir = AbsolutePath(collector.versionString, relativeTo: outputDir)
| `- warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
86 | }
87 | if !localFileSystem.exists(outputDir) {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:95:18: warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
93 | swiftcPath = try VirtualPath(path: swiftcPathRaw).absolutePath!
94 | } else {
95 | swiftcPath = AbsolutePath("Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc",
| `- warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead
96 | relativeTo: sdkPath.parentDirectory
97 | .parentDirectory
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:74:7: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | exit(1)
73 | }
74 | if !localFileSystem.exists(sdkPath) {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | diagnosticsEngine.emit(error: "cannot find sdk: \(sdkPath.pathString)")
76 | exit(1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:87:7: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | outputDir = AbsolutePath(collector.versionString, relativeTo: outputDir)
86 | }
87 | if !localFileSystem.exists(outputDir) {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
88 | try localFileSystem.createDirectory(outputDir, recursive: true)
89 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:88:9: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 | if !localFileSystem.exists(outputDir) {
88 | try localFileSystem.createDirectory(outputDir, recursive: true)
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | }
90 | let swiftcPathRaw = ProcessEnv.vars["SWIFT_EXEC"]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:102:7: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
100 | .parentDirectory)
101 | }
102 | if !localFileSystem.exists(swiftcPath) {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 | diagnosticsEngine.emit(error: "cannot find swift compiler: \(swiftcPath.pathString)")
104 | exit(1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:108:6: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |
107 | let sysVersionFile = outputDir.appending(component: "SystemVersion.plist")
108 | if localFileSystem.exists(sysVersionFile) {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | try localFileSystem.removeFileTree(sysVersionFile)
110 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:109:9: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | let sysVersionFile = outputDir.appending(component: "SystemVersion.plist")
108 | if localFileSystem.exists(sysVersionFile) {
109 | try localFileSystem.removeFileTree(sysVersionFile)
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
110 | }
111 | // Copy $SDK/System/Library/CoreServices/SystemVersion.plist file from the SDK
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:114:7: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | // into the prebuilt module file to keep track of which SDK build we are generating
113 | // the modules from.
114 | try localFileSystem.copy(from: sdkPath.appending(component: "System")
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 | .appending(component: "Library")
116 | .appending(component: "CoreServices")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:128:9: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | try withTemporaryFile(suffix: ".swift") {
127 | let tempPath = $0.path
128 | try localFileSystem.writeFileContents(tempPath, body: {
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 | for module in allModules {
130 | $0 <<< "import " <<< module <<< "\n"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:135:56: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
134 | processSet: processSet,
135 | fileSystem: localFileSystem,
| `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | env: ProcessEnv.vars)
137 | var args = ["swiftc",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
| `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:157: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
155 | if verbose {
156 | Driver.stdErrQueue.sync {
157 | stderrStream <<< "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
158 | stderrStream.flush()
159 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:795:12: note: var declared here
793 |
794 | /// Public stderr stream instance.
795 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
796 | filePointer: TSCLibc.stderr,
797 | closeOnDeinit: false))
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-llbuild.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/3638] Fetching swift-system
[620/13434] Fetching swift-system, yams
[1821/25600] Fetching swift-system, yams, swift-argument-parser
[3957/32055] Fetching swift-system, yams, swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (1.44s)
[18707/28417] Fetching yams, swift-argument-parser, swift-tools-support-core
[24281/51825] Fetching yams, swift-argument-parser, swift-tools-support-core, swift-llbuild
Fetched https://github.com/jpsim/Yams.git from cache (2.00s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (2.00s)
[28552/35574] Fetching swift-argument-parser, swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.35s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.35s)
Fetching https://github.com/SDGGiesbrecht/swift-llbuild
[1/18377] Fetching swift-llbuild
Fetched https://github.com/SDGGiesbrecht/swift-llbuild from cache (1.71s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (0.71s)
Computing version for https://github.com/jpsim/Yams.git
Updating https://github.com/SDGGiesbrecht/swift-llbuild
Updated https://github.com/SDGGiesbrecht/swift-llbuild (0.66s)
Computed https://github.com/jpsim/Yams.git at 5.0.1 (1.32s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.5.2 (0.73s)
Computing version for https://github.com/SDGGiesbrecht/swift-llbuild
Computed https://github.com/SDGGiesbrecht/swift-llbuild at 0.50800.0 (0.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.70s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.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.0.3
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 0.5.2
Creating working copy for https://github.com/SDGGiesbrecht/swift-llbuild
Working copy of https://github.com/SDGGiesbrecht/swift-llbuild resolved at 0.50800.0
BUILD FAILURE 6.0 macosSpm