Build Information
Successful build of swift-driver, reference main (d2236e
), with Swift 6.1 for macOS (SPM) on 16 Jun 2025 17:55:36 UTC.
Swift 6 data race errors: 1003
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/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: add '@MainActor' to make static property 'singleInputKey' part of global actor 'MainActor'
| `- 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:197: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
195 | private struct CodingKeys: CodingKey {
196 |
197 | 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
198 |
199 | init(fileType: FileType) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:17:13: note: consider making enum 'FileType' conform to the 'Sendable' protocol
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:83:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | break
82 | case .verbose:
83 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | stdoutStream.flush()
85 | case .parsableOutput:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:84:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | case .verbose:
83 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
84 | stdoutStream.flush()
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | case .parsableOutput:
86 | let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:118:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | if !output.isEmpty {
117 | Driver.stdErrQueue.sync {
118 | stderrStream.send(output)
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
119 | stderrStream.flush()
120 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:119:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | Driver.stdErrQueue.sync {
118 | stderrStream.send(output)
119 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:177:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
175 | guard let json = try? message.toJSON() else { return }
176 | Driver.stdErrQueue.sync {
177 | stderrStream.send(
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 | """
179 | \(json.count)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:184:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
182 | """
183 | )
184 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
185 | }
186 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[380/389] Compiling SwiftDriver DriverExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:60:10: warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
58 | case integratedReplRemoved
59 | case cannotSpecify_OForMultipleOutputs
60 | case conflictingOptions(Option, Option)
| `- warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
61 | case unableToLoadOutputFileMap(String, String)
62 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:37:15: note: struct 'Option' does not conform to the 'Sendable' protocol
35 |
36 | /// Describes a command-line option.
37 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
38 | /// The kind of option we have, which determines how it will be parsed.
39 | public enum Kind: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftOptions'
10 | //
11 | //===----------------------------------------------------------------------===//
12 | import SwiftOptions
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftOptions'
13 |
14 | import class Dispatch.DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:60:10: warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
58 | case integratedReplRemoved
59 | case cannotSpecify_OForMultipleOutputs
60 | case conflictingOptions(Option, Option)
| `- warning: associated value 'conflictingOptions' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
61 | case unableToLoadOutputFileMap(String, String)
62 | case unableToDecodeFrontendTargetInfo(String?, [String], String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOptions/Option.swift:37:15: note: struct 'Option' does not conform to the 'Sendable' protocol
35 |
36 | /// Describes a command-line option.
37 | public struct Option {
| `- note: struct 'Option' does not conform to the 'Sendable' protocol
38 | /// The kind of option we have, which determines how it will be parsed.
39 | public enum Kind: Hashable {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:741: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
739 |
740 | /// Handler for emitting diagnostics to stderr.
741 | 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: add '@MainActor' to make static property 'stderrDiagnosticsHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
742 | stdErrQueue.sync {
743 | let stream = stderrStream
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:743: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
741 | public static let stderrDiagnosticsHandler: DiagnosticsEngine.DiagnosticsHandler = { diagnostic in
742 | stdErrQueue.sync {
743 | 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
744 | if !(diagnostic.location is UnknownLocation) {
745 | stream.send("\(diagnostic.location.description): ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:450:20: warning: static property 'targetPathOptions' is not concurrency-safe because non-'Sendable' type 'SupplementalPathOptions' may have shared mutable state; this is an error in the Swift 6 language mode
439 | target: FrontendTargetInfo.Target,
440 | isVariant: Bool) throws -> SupplementalModuleTargetOutputPaths {
441 | struct SupplementalPathOptions {
| `- note: consider making struct 'SupplementalPathOptions' conform to the 'Sendable' protocol
442 | let moduleDocPath: Option
443 | let sourceInfoPath: Option
:
448 | let packageInterfacePath: Option
449 |
450 | static let targetPathOptions = SupplementalPathOptions(
| |- warning: static property 'targetPathOptions' is not concurrency-safe because non-'Sendable' type 'SupplementalPathOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'targetPathOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | moduleDocPath: .emitModuleDocPath,
452 | sourceInfoPath: .emitModuleSourceInfoPath,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:459:20: warning: static property 'variantTargetPathOptions' is not concurrency-safe because non-'Sendable' type 'SupplementalPathOptions' may have shared mutable state; this is an error in the Swift 6 language mode
439 | target: FrontendTargetInfo.Target,
440 | isVariant: Bool) throws -> SupplementalModuleTargetOutputPaths {
441 | struct SupplementalPathOptions {
| `- note: consider making struct 'SupplementalPathOptions' conform to the 'Sendable' protocol
442 | let moduleDocPath: Option
443 | let sourceInfoPath: Option
:
457 | packageInterfacePath: .emitPackageModuleInterfacePath)
458 |
459 | static let variantTargetPathOptions = SupplementalPathOptions(
| |- warning: static property 'variantTargetPathOptions' is not concurrency-safe because non-'Sendable' type 'SupplementalPathOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'variantTargetPathOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | moduleDocPath: .emitVariantModuleDocPath,
461 | sourceInfoPath: .emitVariantModuleSourceInfoPath,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1838: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
1836 | ) throws {
1837 | if parsedOptions.hasArgument(.v) {
1838 | 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
1839 | }
1840 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1860: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
1858 | if parsedOptions.contains(.driverPrintOutputFileMap) {
1859 | if let outputFileMap = self.outputFileMap {
1860 | stderrStream.send(outputFileMap.description)
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1861 | stderrStream.flush()
1862 | } else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1861: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
1859 | if let outputFileMap = self.outputFileMap {
1860 | stderrStream.send(outputFileMap.description)
1861 | 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
1862 | } else {
1863 | diagnosticEngine.emit(.error_no_output_file_map_specified)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1885: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
1883 | if parsedOptions.contains(.driverPrintGraphviz) {
1884 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1885 | 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
1886 | stdoutStream.flush()
1887 | return
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1886: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
1884 | var serializer = DOTJobGraphSerializer(jobs: jobs)
1885 | serializer.writeDOT(to: &stdoutStream)
1886 | 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
1887 | return
1888 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1937: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
1935 | // versions.
1936 | if inPlaceJob.kind == .versionRequest && !Driver.driverSourceVersion.isEmpty {
1937 | stderrStream.send("swift-driver version: \(Driver.driverSourceVersion) ")
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1938 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1939 | stderrStream.send("\(blocklistVersion) ")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1939: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
1937 | stderrStream.send("swift-driver version: \(Driver.driverSourceVersion) ")
1938 | if let blocklistVersion = try Driver.findCompilerClientsConfigVersion(RelativeTo: try toolchain.executableDir) {
1939 | stderrStream.send("\(blocklistVersion) ")
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1940 | }
1941 | stderrStream.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1941: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
1939 | stderrStream.send("\(blocklistVersion) ")
1940 | }
1941 | 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
1942 | }
1943 | // In verbose mode, print out the job
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1947: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
1945 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: inPlaceJob,
1946 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1947 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1948 | stdoutStream.flush()
1949 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:1948: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
1946 | useResponseFiles: forceResponseFiles ? .forced : .heuristic)
1947 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
1948 | 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
1949 | }
1950 | try executor.execute(job: inPlaceJob,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2025: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
2023 |
2024 | private func printBindings(_ job: Job) {
2025 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2026 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
2027 | stdoutStream.send(#"", inputs: ["#)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2026: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
2024 | private func printBindings(_ job: Job) {
2025 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
2026 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2027 | stdoutStream.send(#"", inputs: ["#)
2028 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2027: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
2025 | stdoutStream.send(#"# ""#).send(targetTriple.triple)
2026 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
2027 | stdoutStream.send(#"", inputs: ["#)
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2028 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
2029 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2028: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
2026 | stdoutStream.send(#"" - ""#).send(job.tool.basename)
2027 | stdoutStream.send(#"", inputs: ["#)
2028 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2029 |
2030 | stdoutStream.send("], output: {")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2030: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
2028 | stdoutStream.send(job.displayInputs.map { "\"" + $0.file.name + "\"" }.joined(separator: ", "))
2029 |
2030 | stdoutStream.send("], output: {")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2031 |
2032 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2032: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
2030 | stdoutStream.send("], output: {")
2031 |
2032 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2033 |
2034 | stdoutStream.send("}\n")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2034: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
2032 | stdoutStream.send(job.outputs.map { $0.type.name + ": \"" + $0.file.name + "\"" }.joined(separator: ", "))
2033 |
2034 | stdoutStream.send("}\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2035 | stdoutStream.flush()
2036 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2035: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
2033 |
2034 | stdoutStream.send("}\n")
2035 | 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
2036 | }
2037 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2045: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
2043 | private mutating func printActions(_ jobs: [Job]) {
2044 | defer {
2045 | 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
2046 | }
2047 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2105: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
2103 |
2104 | // Print current Job
2105 | stdoutStream.send("\(nextId): ").send(job.kind.rawValue).send(", {")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2106 | switch job.kind {
2107 | // 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:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2109: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
2107 | // Don't sort for compile jobs. Puts pch last
2108 | case .compile:
2109 | stdoutStream.send(inputIds.map(\.description).joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2110 | default:
2111 | stdoutStream.send(inputIds.sorted().map(\.description).joined(separator: ", "))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2111: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
2109 | stdoutStream.send(inputIds.map(\.description).joined(separator: ", "))
2110 | default:
2111 | stdoutStream.send(inputIds.sorted().map(\.description).joined(separator: ", "))
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2112 | }
2113 | var typeName = job.outputs.first?.type.name
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2117: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
2115 | typeName = "none"
2116 | }
2117 | stdoutStream.send("}, \(typeName!)\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2118 | jobIdMap[job] = nextId
2119 | nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2125: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
2123 | private static func printInputIfNew(_ input: TypedVirtualPath, inputIdMap: inout [TypedVirtualPath: UInt], nextId: inout UInt) {
2124 | if inputIdMap[input] == nil {
2125 | stdoutStream.send("\(nextId): input, ")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2126 | stdoutStream.send("\"\(input.file)\", \(input.type)\n")
2127 | inputIdMap[input] = nextId
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:2126: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
2124 | if inputIdMap[input] == nil {
2125 | stdoutStream.send("\(nextId): input, ")
2126 | stdoutStream.send("\"\(input.file)\", \(input.type)\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
2127 | inputIdMap[input] = nextId
2128 | nextId += 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/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: add '@MainActor' to make static property 'singleInputKey' part of global actor 'MainActor'
| `- 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:197: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
195 | private struct CodingKeys: CodingKey {
196 |
197 | 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
198 |
199 | init(fileType: FileType) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Utilities/FileType.swift:17:13: note: consider making enum 'FileType' conform to the 'Sendable' protocol
15 | /// The raw values for these enumerations describe the default extension for
16 | /// the file type.
17 | public enum FileType: String, Hashable, CaseIterable, Codable {
| `- note: consider making enum 'FileType' conform to the 'Sendable' protocol
18 | /// Swift source file.
19 | case swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:83:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | break
82 | case .verbose:
83 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | stdoutStream.flush()
85 | case .parsableOutput:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:84:7: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | case .verbose:
83 | stdoutStream.send("\(arguments.map { $0.spm_shellEscaped() }.joined(separator: " "))\n")
84 | stdoutStream.flush()
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | case .parsableOutput:
86 | let messages = constructJobBeganMessages(job: job, arguments: arguments, pid: pid)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:842:12: note: var declared here
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:118:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | if !output.isEmpty {
117 | Driver.stdErrQueue.sync {
118 | stderrStream.send(output)
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
119 | stderrStream.flush()
120 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:119:11: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | Driver.stdErrQueue.sync {
118 | stderrStream.send(output)
119 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:177:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
175 | guard let json = try? message.toJSON() else { return }
176 | Driver.stdErrQueue.sync {
177 | stderrStream.send(
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 | """
179 | \(json.count)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/ToolExecutionDelegate.swift:184:7: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
182 | """
183 | )
184 | stderrStream.flush()
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
185 | }
186 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[380/389] Write Objects.LinkFileList
[381/389] Compiling ToolingTestShim CToolingTestShimImpl.c
[383/393] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
24 | public final class SwiftDriverExecutor: DriverExecutor {
25 | let diagnosticsEngine: DiagnosticsEngine
26 | let processSet: ProcessSet
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:93:24: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
94 | }
95 |
[384/393] 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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
25 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
26 | #else
27 | @_implementationOnly import llbuild
[385/393] 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:34:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
34 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
35 | #else
36 | @_implementationOnly import llbuild
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
80 |
81 | /// The process set to use when launching new processes.
82 | let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
83 |
84 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 | /// The process set to use when launching new processes.
257 | private let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/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
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
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
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
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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:661:24: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
659 | if (pendingFinish) {
660 | context.delegateQueue.sync {
661 | let result = ProcessResult(
| `- warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
662 | arguments: [],
663 | environment: env,
[386/393] 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/MultiJobExecutor.swift:34:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
34 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
35 | #else
36 | @_implementationOnly import llbuild
/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
25 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
26 | #else
27 | @_implementationOnly import llbuild
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
80 |
81 | /// The process set to use when launching new processes.
82 | let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
83 |
84 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 | /// The process set to use when launching new processes.
257 | private let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
24 | public final class SwiftDriverExecutor: DriverExecutor {
25 | let diagnosticsEngine: DiagnosticsEngine
26 | let processSet: ProcessSet
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
[386/393] Linking libSwiftDriverDynamic.dylib
[388/403] Emitting module swift_driver
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:65:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
63 | signal(SIGINT, SIG_IGN)
64 | #endif
65 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
66 | interruptSignalSource.setEventHandler {
67 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:108:31: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
106 | let path: String = legacyExecutablePath.withUnsafeFileSystemRepresentation { String(cString: $0!) }
107 |
108 | if localFileSystem.exists(AbsolutePath(path)) {
| `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
109 | let legacyDriverCommand = [path] + CommandLine.arguments[1...]
110 | try exec(path: path, args: legacyDriverCommand)
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:117:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
115 |
116 | if ProcessEnv.block["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
117 | 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.
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:149:58: warning: 'vars' is deprecated: Use `block` instead
147 | processSet: processSet,
148 | fileSystem: localFileSystem,
149 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
150 | var driver = try Driver(args: arguments,
151 | diagnosticsOutput: .engine(diagnosticsEngine),
[389/403] Compiling swift_driver main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:65:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
63 | signal(SIGINT, SIG_IGN)
64 | #endif
65 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
66 | interruptSignalSource.setEventHandler {
67 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:108:31: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
106 | let path: String = legacyExecutablePath.withUnsafeFileSystemRepresentation { String(cString: $0!) }
107 |
108 | if localFileSystem.exists(AbsolutePath(path)) {
| `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
109 | let legacyDriverCommand = [path] + CommandLine.arguments[1...]
110 | try exec(path: path, args: legacyDriverCommand)
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:117:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
115 |
116 | if ProcessEnv.block["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
117 | 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.
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:149:58: warning: 'vars' is deprecated: Use `block` instead
147 | processSet: processSet,
148 | fileSystem: localFileSystem,
149 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
150 | var driver = try Driver(args: arguments,
151 | diagnosticsOutput: .engine(diagnosticsEngine),
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:48:6: error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
44 | let interruptSignalSource = DispatchSource.makeSignalSource(signal: SIGINT)
45 | let diagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])
46 | var driverInterrupted = false
| `- note: var declared here
47 | func getExitCode(_ code: Int32) -> Int32 {
| `- note: add '@MainActor' to make global function 'getExitCode' part of global actor 'MainActor'
48 | if driverInterrupted {
| `- error: main actor-isolated var 'driverInterrupted' can not be referenced from a nonisolated context
49 | interruptSignalSource.cancel()
50 | #if os(Windows)
[390/403] Emitting module swift_build_sdk_interfaces
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:128:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
126 | .appending(component: "SystemVersion.plist"),
127 | to: sysVersionFile)
128 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
129 | let inputTuple = try collector.collectSwiftInterfaceMap()
130 | let allAdopters = inputTuple.adopters
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:145:60: warning: 'vars' is deprecated: Use `block` instead
143 | processSet: processSet,
144 | fileSystem: localFileSystem,
145 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
146 | var args = ["swiftc",
147 | "-target", collector.targetTriple,
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:196: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
194 | if verbose {
195 | Driver.stdErrQueue.sync {
196 | stderrStream.send("job count: \(jobs.count + danglingJobs.count)\n")
| `- warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
197 | stderrStream.flush()
198 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:197:9: warning: reference to var 'stderrStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
195 | Driver.stdErrQueue.sync {
196 | stderrStream.send("job count: \(jobs.count + danglingJobs.count)\n")
197 | 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
198 | }
199 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:847:12: note: var declared here
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[391/403] Emitting module TestUtilities
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:61:37: warning: 'vars' is deprecated: Use `block` instead
59 | #elseif os(macOS)
60 | return Result {
61 | if let pathFromEnv = ProcessEnv.vars["SDKROOT"] {
| `- warning: 'vars' is deprecated: Use `block` instead
62 | return pathFromEnv
63 | }
[392/403] Compiling TestUtilities Fixture.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:61:37: warning: 'vars' is deprecated: Use `block` instead
59 | #elseif os(macOS)
60 | return Result {
61 | if let pathFromEnv = ProcessEnv.vars["SDKROOT"] {
| `- warning: 'vars' is deprecated: Use `block` instead
62 | return pathFromEnv
63 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write swift-version-2F0A5646E1D333AE.txt
[2/16] Linking makeOptions
[3/16] Applying makeOptions
[5/28] Emitting module TSCLibc
[6/28] Compiling TSCLibc libc.swift
[7/28] Emitting module ArgumentParserToolInfo
[8/28] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/69] Compiling llbuildSwift CoreBindings.swift
[10/69] Compiling llbuildSwift NinjaManifest.swift
[11/69] Compiling llbuildSwift Internals.swift
[12/69] Compiling llbuildSwift BuildValue.swift
[13/108] Emitting module llbuildSwift
[14/108] Compiling llbuildSwift BuildDBBindings.swift
[15/108] Compiling llbuildSwift BuildSystemBindings.swift
[16/108] Compiling llbuildSwift BuildKey.swift
[17/108] Compiling ArgumentParser CommandParser.swift
[18/108] Compiling ArgumentParser InputKey.swift
[19/108] Compiling TSCBasic TemporaryFile.swift
[20/108] Compiling TSCBasic TerminalController.swift
[21/112] Compiling ArgumentParser UsageGenerator.swift
[22/112] Compiling ArgumentParser CollectionExtensions.swift
[23/112] Compiling ArgumentParser NameSpecification.swift
[24/112] Compiling ArgumentParser Option.swift
[25/112] Compiling ArgumentParser OptionGroup.swift
[26/112] Compiling ArgumentParser AsyncParsableCommand.swift
[27/112] Compiling ArgumentParser ArgumentDefinition.swift
[28/112] Compiling ArgumentParser ArgumentSet.swift
[29/112] Emitting module TSCBasic
[30/112] Emitting module ArgumentParser
[31/112] Compiling ArgumentParser ArgumentHelp.swift
[32/112] Compiling ArgumentParser ArgumentVisibility.swift
[33/112] Compiling ArgumentParser CompletionKind.swift
[34/112] Compiling ArgumentParser Errors.swift
[35/112] Compiling ArgumentParser Flag.swift
[36/116] Compiling ArgumentParser ParserError.swift
[37/116] Compiling ArgumentParser SplitArguments.swift
[38/116] Compiling ArgumentParser DumpHelpGenerator.swift
[39/116] Compiling ArgumentParser HelpCommand.swift
[40/116] Compiling ArgumentParser CommandConfiguration.swift
[41/116] Compiling ArgumentParser CommandGroup.swift
[42/116] Compiling ArgumentParser EnumerableFlag.swift
[43/116] Compiling ArgumentParser ExpressibleByArgument.swift
[48/116] Compiling ArgumentParser BashCompletionsGenerator.swift
[49/116] Compiling ArgumentParser CompletionsGenerator.swift
[50/116] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/116] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/116] Compiling ArgumentParser Argument.swift
[53/116] Compiling ArgumentParser HelpGenerator.swift
[54/116] Compiling ArgumentParser MessageInfo.swift
[57/116] Compiling ArgumentParser ParsableArguments.swift
[58/116] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/116] Compiling ArgumentParser ParsableCommand.swift
[60/116] Compiling ArgumentParser ArgumentDecoder.swift
[65/116] Compiling ArgumentParser InputOrigin.swift
[66/116] Compiling ArgumentParser Name.swift
[67/116] Compiling ArgumentParser Parsed.swift
[68/116] Compiling ArgumentParser ParsedValues.swift
[77/116] Compiling ArgumentParser StringExtensions.swift
[78/116] Compiling ArgumentParser Tree.swift
[79/116] Compiling TSCBasic WritableByteStream.swift
[80/116] Compiling TSCBasic misc.swift
[81/116] Compiling ArgumentParser Platform.swift
[82/116] Compiling ArgumentParser SequenceExtensions.swift
[105/152] Compiling TSCUtility BuildFlags.swift
[106/152] Compiling TSCUtility CollectionExtensions.swift
[107/152] Compiling TSCUtility Context.swift
[108/152] Compiling TSCUtility Diagnostics.swift
[109/155] Compiling TSCUtility OSLog.swift
[110/155] Compiling TSCUtility OrderedZip.swift
[111/155] Compiling TSCUtility PkgConfig.swift
[112/155] Compiling TSCUtility Platform.swift
[113/155] Emitting module TSCUtility
[114/155] Compiling TSCUtility PolymorphicCodable.swift
[115/155] Compiling TSCUtility ProgressAnimation.swift
[116/155] Compiling TSCUtility SerializedDiagnostics.swift
[117/155] Compiling TSCUtility SimplePersistence.swift
[118/155] Compiling TSCUtility Versioning.swift
[119/155] Compiling TSCUtility dlopen.swift
[120/155] Compiling TSCUtility misc.swift
[121/155] Compiling TSCUtility IndexStore.swift
[122/155] Compiling TSCUtility InterruptHandler.swift
[123/155] Compiling TSCUtility JSONMessageStreamingParser.swift
[124/155] Compiling TSCUtility Netrc.swift
[125/155] Compiling TSCUtility Archiver.swift
[126/155] Compiling TSCUtility ArgumentParser.swift
[127/155] Compiling TSCUtility ArgumentParserShellCompletion.swift
[128/155] Compiling TSCUtility Array+Extensions.swift
[129/155] Compiling TSCUtility FSWatch.swift
[130/155] Compiling TSCUtility FloatingPointExtensions.swift
[131/155] Compiling TSCUtility Git.swift
[132/155] Compiling TSCUtility Hex.swift
[133/155] Compiling TSCUtility StringExtensions.swift
[134/155] Compiling TSCUtility StringMangling.swift
[135/155] Compiling TSCUtility Tracing.swift
[136/155] Compiling TSCUtility Triple.swift
[137/155] Compiling TSCUtility Bits.swift
[138/155] Compiling TSCUtility Bitstream.swift
[139/155] Compiling TSCUtility BitstreamReader.swift
[140/155] Compiling TSCUtility BitstreamWriter.swift
[141/155] Compiling TSCUtility URL.swift
[142/155] Compiling TSCUtility Verbosity.swift
[143/155] Compiling TSCUtility Version.swift
[144/163] Compiling SwiftOptions OptionTable.swift
[145/163] Compiling SwiftOptions OptionParsing.swift
[146/163] Emitting module SwiftOptions
[147/163] Compiling SwiftOptions DriverKind.swift
[148/163] Compiling SwiftOptions PrefixTrie.swift
[149/163] Compiling SwiftOptions Option.swift
[150/163] Compiling SwiftOptions ParsedOptions.swift
[151/163] Compiling SwiftOptions Options.swift
[152/265] Compiling swift_help main.swift
[153/265] Emitting module swift_help
[153/265] Write Objects.LinkFileList
[154/265] Linking swift-help
[155/265] Applying swift-help
[157/265] Compiling SwiftDriver Toolchain.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[158/265] Compiling SwiftDriver WebAssemblyToolchain.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[159/265] Compiling SwiftDriver WindowsToolchain.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[160/265] Compiling SwiftDriver SimpleExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[161/265] Compiling SwiftDriver ToolingUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[162/265] Compiling SwiftDriver DOTJobGraphSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[163/265] Compiling SwiftDriver DOTModuleDependencyGraphSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[164/265] Compiling SwiftDriver DateAdditions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[165/265] Compiling SwiftDriver Diagnostics.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[166/265] Compiling SwiftDriver FileList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[167/265] Compiling SwiftDriver FileType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/SimpleExecutor.swift:52:17: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
50 |
51 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
52 | try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ToolingInterface/ToolingUtil.swift:91:26: warning: 'vars' is deprecated: Use `block` instead
89 | compilerIntegratedTooling: Bool = false,
90 | forceNoOutputs: Bool = false) -> Bool {
91 | let env = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead
92 | let executor: SimpleExecutor
93 | do {
[168/275] Emitting module SwiftDriver
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[169/275] Compiling SwiftDriver Bitstream.swift
[170/275] Compiling SwiftDriver BitstreamReader.swift
[171/275] Compiling SwiftDriver BitstreamVisitor.swift
[172/275] Compiling SwiftDriver BitstreamWriter.swift
[173/275] Compiling SwiftDriver BlockInfo.swift
[174/275] Compiling SwiftDriver BuildRecord.swift
[175/275] Compiling SwiftDriver BuildRecordInfo.swift
[176/275] Compiling SwiftDriver DependencyGraphDotFileWriter.swift
[177/275] Compiling SwiftDriver DependencyKey.swift
[178/275] Compiling SwiftDriver DirectAndTransitiveCollections.swift
[179/275] Compiling SwiftDriver ExternalDependencyAndFingerprintEnforcer.swift
[180/275] Compiling SwiftDriver Toolchain+LinkerSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[181/275] Compiling SwiftDriver VerifyDebugInfoJob.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[182/275] Compiling SwiftDriver VerifyModuleInterfaceJob.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[183/275] Compiling SwiftDriver WebAssemblyToolchain+LinkerSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[184/275] Compiling SwiftDriver WindowsToolchain+LinkerSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[185/275] Compiling SwiftDriver DependencyGraphBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[186/275] Compiling SwiftDriver Loader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[187/275] Compiling SwiftDriver SwiftScan.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[188/275] Compiling SwiftDriver SwiftScanCAS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[189/275] Compiling SwiftDriver DarwinToolchain.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[190/275] Compiling SwiftDriver GenericUnixToolchain.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | internal extension SwiftScan {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 |
15 | #if os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:13:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import CSwiftScan
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriver' may lead to instability during execution
14 | import struct Foundation.Data
15 |
[191/275] Compiling SwiftDriver FirstWaveComputer.swift
[192/275] Compiling SwiftDriver IncrementalCompilationProtectedState.swift
[193/275] Compiling SwiftDriver IncrementalCompilationState+Extensions.swift
[194/275] Compiling SwiftDriver IncrementalCompilationState.swift
[195/275] Compiling SwiftDriver IncrementalCompilationSynchronizer.swift
[196/275] Compiling SwiftDriver IncrementalDependencyAndInputSetup.swift
[197/275] Compiling SwiftDriver InputInfo.swift
[198/275] Compiling SwiftDriver KeyAndFingerprintHolder.swift
[199/275] Compiling SwiftDriver ModuleDependencyGraph.swift
[200/275] Compiling SwiftDriver DependencySource.swift
[201/275] Compiling SwiftDriver Integrator.swift
[202/275] Compiling SwiftDriver ParsableOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[203/275] Compiling SwiftDriver ProcessProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[204/275] Compiling SwiftDriver ExplicitDependencyBuildPlanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[205/275] Compiling SwiftDriver CommonDependencyOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[206/275] Compiling SwiftDriver InterModuleDependencyGraph.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[207/275] Compiling SwiftDriver InterModuleDependencyOracle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[208/275] Compiling SwiftDriver ModuleDependencyScanning.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[209/275] Compiling SwiftDriver SerializableModuleArtifacts.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[210/275] Compiling SwiftDriver Bitcode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[211/275] Compiling SwiftDriver BitcodeElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[212/275] Compiling SwiftDriver Bits.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:50:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
48 | env: [String: String]
49 | ) throws -> TSCBasic.Process {
50 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
51 | try process.launch()
52 | return process
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Execution/ProcessProtocol.swift:60:19: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
58 | inputFileHandle: FileHandle
59 | ) throws -> TSCBasic.Process {
60 | let process = Process(arguments: arguments, environment: env)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)'
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
61 | let processInputStream = try process.launch()
62 | var input: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:55:9: warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
53 | mutating func gatherModuleDependencies()
54 | throws -> InterModuleDependencyGraph {
55 | var dependencyGraph = try performDependencyScan()
| `- warning: variable 'dependencyGraph' was never mutated; consider changing to 'let' constant
56 |
57 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
[213/275] Compiling SwiftDriver Job.swift
[214/275] Compiling SwiftDriver LinkJob.swift
[215/275] Compiling SwiftDriver MergeModuleJob.swift
[216/275] Compiling SwiftDriver ModuleWrapJob.swift
[217/275] Compiling SwiftDriver Planning.swift
[218/275] Compiling SwiftDriver PrebuiltModulesJob.swift
[219/275] Compiling SwiftDriver PrintSupportedFeaturesJob.swift
[220/275] Compiling SwiftDriver PrintTargetInfoJob.swift
[221/275] Compiling SwiftDriver ReplJob.swift
[222/275] Compiling SwiftDriver SwiftHelpIntroJob.swift
[223/275] Compiling SwiftDriver Toolchain+InterpreterSupport.swift
[224/275] Compiling SwiftDriver InternedStrings.swift
[225/275] Compiling SwiftDriver Node.swift
[226/275] Compiling SwiftDriver NodeFinder.swift
[227/275] Compiling SwiftDriver Tracer.swift
[228/275] Compiling SwiftDriver Multidictionary.swift
[229/275] Compiling SwiftDriver SourceFileDependencyGraph.swift
[230/275] Compiling SwiftDriver SwiftSourceFile.swift
[231/275] Compiling SwiftDriver TwoDMap.swift
[232/275] Compiling SwiftDriver TwoLevelMap.swift
[233/275] Compiling SwiftDriver APIDigesterJobs.swift
[234/275] Compiling SwiftDriver AutolinkExtractJob.swift
[235/275] Compiling SwiftDriver CompilerMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[236/275] Compiling SwiftDriver DebugInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[237/275] Compiling SwiftDriver Driver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[238/275] Compiling SwiftDriver DriverVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[239/275] Compiling SwiftDriver LinkKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[240/275] Compiling SwiftDriver ModuleOutputInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[241/275] Compiling SwiftDriver OutputFileMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[242/275] Compiling SwiftDriver ToolExecutionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[243/275] Compiling SwiftDriver WindowsExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[244/275] Compiling SwiftDriver ArgsResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[245/275] Compiling SwiftDriver DriverExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriver/Driver/Driver.swift:867:40: warning: 'vars' is deprecated: Use `block` instead
865 | public init(
866 | args: [String],
867 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
868 | diagnosticsOutput: DiagnosticsOutput = .engine(DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler])),
869 | fileSystem: FileSystem = localFileSystem,
[246/275] Compiling SwiftDriver CommandLineArguments.swift
[247/275] Compiling SwiftDriver CompileJob.swift
[248/275] Compiling SwiftDriver DarwinToolchain+LinkerSupport.swift
[249/275] Compiling SwiftDriver EmitModuleJob.swift
[250/275] Compiling SwiftDriver EmitSupportedFeaturesJob.swift
[251/275] Compiling SwiftDriver FrontendJobHelpers.swift
[252/275] Compiling SwiftDriver GenerateDSYMJob.swift
[253/275] Compiling SwiftDriver GeneratePCHJob.swift
[254/275] Compiling SwiftDriver GeneratePCMJob.swift
[255/275] Compiling SwiftDriver GenericUnixToolchain+LinkerSupport.swift
[256/275] Compiling SwiftDriver InterpretJob.swift
[257/275] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
[258/275] Compiling SwiftDriver RelativePathAdditions.swift
[259/275] Compiling SwiftDriver Sanitizer.swift
[260/275] Compiling SwiftDriver StringAdditions.swift
[261/275] Compiling SwiftDriver System.swift
[262/275] Compiling SwiftDriver Triple+Platforms.swift
[263/275] Compiling SwiftDriver Triple.swift
[264/275] Compiling SwiftDriver TypedVirtualPath.swift
[265/275] Compiling SwiftDriver Version.swift
[266/275] Compiling SwiftDriver VirtualPath.swift
[266/275] Write Objects.LinkFileList
[267/275] Compiling ToolingTestShim CToolingTestShimImpl.c
[269/279] 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/MultiJobExecutor.swift:34:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
34 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
35 | #else
36 | @_implementationOnly import llbuild
/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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
25 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
26 | #else
27 | @_implementationOnly import llbuild
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
80 |
81 | /// The process set to use when launching new processes.
82 | let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
83 |
84 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 | /// The process set to use when launching new processes.
257 | private let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
24 | public final class SwiftDriverExecutor: DriverExecutor {
25 | let diagnosticsEngine: DiagnosticsEngine
26 | let processSet: ProcessSet
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
[270/279] 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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
23 | #if canImport(llbuildSwift)
24 | @_implementationOnly import llbuildSwift
25 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
26 | #else
27 | @_implementationOnly import llbuild
[271/279] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
24 | public final class SwiftDriverExecutor: DriverExecutor {
25 | let diagnosticsEngine: DiagnosticsEngine
26 | let processSet: ProcessSet
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:93:24: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)'
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
94 | }
95 |
[272/279] 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:34:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
32 | #if canImport(llbuildSwift)
33 | @_implementationOnly import llbuildSwift
34 | @_implementationOnly import llbuild
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution
35 | #else
36 | @_implementationOnly import llbuild
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
80 |
81 | /// The process set to use when launching new processes.
82 | let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
83 |
84 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
255 |
256 | /// The process set to use when launching new processes.
257 | private let processSet: ProcessSet?
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
258 |
259 | /// If true, always use response files to pass command line arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:661:24: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
659 | if (pendingFinish) {
660 | context.delegateQueue.sync {
661 | let result = ProcessResult(
| `- warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
662 | arguments: [],
663 | environment: env,
[272/279] Linking libSwiftDriverDynamic.dylib
[274/289] Compiling TestUtilities PathExtensions.swift
[275/289] Compiling TestUtilities Fixture.swift
[276/289] Compiling TestUtilities OutputFileMapCreator.swift
[277/289] Compiling TestUtilities TemporaryFileMatching.swift
[278/289] Emitting module TestUtilities
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:61:37: warning: 'vars' is deprecated: Use `block` instead
59 | #elseif os(macOS)
60 | return Result {
61 | if let pathFromEnv = ProcessEnv.vars["SDKROOT"] {
| `- warning: 'vars' is deprecated: Use `block` instead
62 | return pathFromEnv
63 | }
[279/289] Compiling TestUtilities DriverExtensions.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:61:37: warning: 'vars' is deprecated: Use `block` instead
59 | #elseif os(macOS)
60 | return Result {
61 | if let pathFromEnv = ProcessEnv.vars["SDKROOT"] {
| `- warning: 'vars' is deprecated: Use `block` instead
62 | return pathFromEnv
63 | }
/Users/admin/builder/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:30:52: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
28 | ) throws {
29 | let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
30 | processSet: ProcessSet(),
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
31 | fileSystem: fileSystem,
32 | env: env)
[280/289] Emitting module swift_driver
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:65:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
63 | signal(SIGINT, SIG_IGN)
64 | #endif
65 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
66 | interruptSignalSource.setEventHandler {
67 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:108:31: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
106 | let path: String = legacyExecutablePath.withUnsafeFileSystemRepresentation { String(cString: $0!) }
107 |
108 | if localFileSystem.exists(AbsolutePath(path)) {
| `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
109 | let legacyDriverCommand = [path] + CommandLine.arguments[1...]
110 | try exec(path: path, args: legacyDriverCommand)
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:117:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
115 |
116 | if ProcessEnv.block["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
117 | 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.
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:149:58: warning: 'vars' is deprecated: Use `block` instead
147 | processSet: processSet,
148 | fileSystem: localFileSystem,
149 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
150 | var driver = try Driver(args: arguments,
151 | diagnosticsOutput: .engine(diagnosticsEngine),
[281/289] Compiling swift_driver main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:65:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
63 | signal(SIGINT, SIG_IGN)
64 | #endif
65 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
66 | interruptSignalSource.setEventHandler {
67 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:108:31: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
106 | let path: String = legacyExecutablePath.withUnsafeFileSystemRepresentation { String(cString: $0!) }
107 |
108 | if localFileSystem.exists(AbsolutePath(path)) {
| `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead
109 | let legacyDriverCommand = [path] + CommandLine.arguments[1...]
110 | try exec(path: path, args: legacyDriverCommand)
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:117:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
115 |
116 | if ProcessEnv.block["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
117 | 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.
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-driver/main.swift:149:58: warning: 'vars' is deprecated: Use `block` instead
147 | processSet: processSet,
148 | fileSystem: localFileSystem,
149 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
150 | var driver = try Driver(args: arguments,
151 | diagnosticsOutput: .engine(diagnosticsEngine),
[282/289] Emitting module swift_build_sdk_interfaces
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:128:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
126 | .appending(component: "SystemVersion.plist"),
127 | to: sysVersionFile)
128 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
129 | let inputTuple = try collector.collectSwiftInterfaceMap()
130 | let allAdopters = inputTuple.adopters
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:145:60: warning: 'vars' is deprecated: Use `block` instead
143 | processSet: processSet,
144 | fileSystem: localFileSystem,
145 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
146 | var args = ["swiftc",
147 | "-target", collector.targetTriple,
[283/289] Compiling swift_build_sdk_interfaces main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:128:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
126 | .appending(component: "SystemVersion.plist"),
127 | to: sysVersionFile)
128 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead
129 | let inputTuple = try collector.collectSwiftInterfaceMap()
130 | let allAdopters = inputTuple.adopters
/Users/admin/builder/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:145:60: warning: 'vars' is deprecated: Use `block` instead
143 | processSet: processSet,
144 | fileSystem: localFileSystem,
145 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead
146 | var args = ["swiftc",
147 | "-target", collector.targetTriple,
[283/289] Write Objects.LinkFileList
[285/299] Linking swift-driver
[286/299] Linking swift-build-sdk-interfaces
[287/299] Applying swift-driver
[288/299] Applying swift-build-sdk-interfaces
[290/299] Compiling IncrementalTestFramework IncrementalTest.swift
[291/299] Compiling IncrementalTestFramework ExpectedCompilations.swift
[292/299] Compiling IncrementalTestFramework Expectation.swift
[293/299] Compiling IncrementalTestFramework ExpectedProcessResult.swift
[294/299] Compiling IncrementalTestFramework Source.swift
[295/299] Compiling IncrementalTestFramework CompiledSourceCollector.swift
[296/299] Compiling IncrementalTestFramework AddOn.swift
[297/299] Emitting module IncrementalTestFramework
[298/299] Compiling IncrementalTestFramework Module.swift
[299/299] Compiling IncrementalTestFramework Context.swift
[300/300] Compiling IncrementalTestFramework Step.swift
Build complete! (17.25s)
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-llbuild",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-llbuild.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-tools-support-core.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "swift-driver",
"name" : "swift-driver",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "swift-driver",
"targets" : [
"swift-driver"
],
"type" : {
"executable" : null
}
},
{
"name" : "swift-help",
"targets" : [
"swift-help"
],
"type" : {
"executable" : null
}
},
{
"name" : "swift-build-sdk-interfaces",
"targets" : [
"swift-build-sdk-interfaces"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftDriver",
"targets" : [
"SwiftDriver"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftDriverDynamic",
"targets" : [
"SwiftDriver"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SwiftOptions",
"targets" : [
"SwiftOptions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftDriverExecution",
"targets" : [
"SwiftDriverExecution"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "makeOptions",
"targets" : [
"makeOptions"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_help",
"module_type" : "SwiftTarget",
"name" : "swift-help",
"path" : "Sources/swift-help",
"product_dependencies" : [
"ArgumentParser",
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"swift-help"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftOptions"
],
"type" : "executable"
},
{
"c99name" : "swift_driver",
"module_type" : "SwiftTarget",
"name" : "swift-driver",
"path" : "Sources/swift-driver",
"product_memberships" : [
"swift-driver"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftDriverExecution",
"SwiftDriver"
],
"type" : "executable"
},
{
"c99name" : "swift_build_sdk_interfaces",
"module_type" : "SwiftTarget",
"name" : "swift-build-sdk-interfaces",
"path" : "Sources/swift-build-sdk-interfaces",
"product_memberships" : [
"swift-build-sdk-interfaces"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftDriver",
"SwiftDriverExecution"
],
"type" : "executable"
},
{
"c99name" : "makeOptions",
"module_type" : "ClangTarget",
"name" : "makeOptions",
"path" : "Sources/makeOptions",
"product_memberships" : [
"makeOptions"
],
"sources" : [
"main.cpp",
"makeOptions.cpp"
],
"type" : "executable"
},
{
"c99name" : "ToolingTestShim",
"module_type" : "ClangTarget",
"name" : "ToolingTestShim",
"path" : "Tests/ToolingTestShim",
"sources" : [
"CToolingTestShimImpl.c"
],
"target_dependencies" : [
"SwiftDriver"
],
"type" : "library"
},
{
"c99name" : "TestUtilities",
"module_type" : "SwiftTarget",
"name" : "TestUtilities",
"path" : "Tests/TestUtilities",
"sources" : [
"DriverExtensions.swift",
"Fixture.swift",
"OutputFileMapCreator.swift",
"PathExtensions.swift",
"TemporaryFileMatching.swift"
],
"target_dependencies" : [
"SwiftDriver",
"SwiftDriverExecution"
],
"type" : "library"
},
{
"c99name" : "SwiftOptionsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftOptionsTests",
"path" : "Tests/SwiftOptionsTests",
"sources" : [
"OptionParsingTests.swift",
"PrefixTrieTests.swift"
],
"target_dependencies" : [
"SwiftOptions"
],
"type" : "test"
},
{
"c99name" : "SwiftOptions",
"module_type" : "SwiftTarget",
"name" : "SwiftOptions",
"path" : "Sources/SwiftOptions",
"product_dependencies" : [
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"swift-driver",
"swift-help",
"swift-build-sdk-interfaces",
"SwiftDriver",
"SwiftDriverDynamic",
"SwiftOptions",
"SwiftDriverExecution"
],
"sources" : [
"DriverKind.swift",
"Option.swift",
"OptionParsing.swift",
"OptionTable.swift",
"Options.swift",
"ParsedOptions.swift",
"PrefixTrie.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftDriverTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDriverTests",
"path" : "Tests/SwiftDriverTests",
"sources" : [
"APIDigesterTests.swift",
"AssertDiagnosticsTests.swift",
"CachingBuildTests.swift",
"CrossModuleIncrementalBuildTests.swift",
"DependencyGraphSerializationTests.swift",
"ExplicitModuleBuildTests.swift",
"Helpers/AssertDiagnostics.swift",
"Helpers/MockingIncrementalCompilation.swift",
"Helpers/Permutations.swift",
"Helpers/XCTestExtensions.swift",
"IncrementalBuildPerformanceTests.swift",
"IncrementalCompilationTests.swift",
"Inputs/ExplicitModuleDependencyBuildInputs.swift",
"Inputs/IncrementalCompilationInputs.swift",
"IntegrationTests.swift",
"JobExecutorTests.swift",
"ModuleDependencyGraphTests.swift",
"MultidictionaryTests.swift",
"NonincrementalCompilationTests.swift",
"ParsableMessageTests.swift",
"PredictableRandomNumberGeneratorTests.swift",
"StringAdditionsTests.swift",
"SwiftDriverTests.swift",
"SwiftDriverToolingInterfaceTests.swift",
"TripleTests.swift",
"TwoDMapTests.swift"
],
"target_dependencies" : [
"SwiftDriver",
"SwiftDriverExecution",
"TestUtilities",
"ToolingTestShim"
],
"type" : "test"
},
{
"c99name" : "SwiftDriverExecution",
"module_type" : "SwiftTarget",
"name" : "SwiftDriverExecution",
"path" : "Sources/SwiftDriverExecution",
"product_dependencies" : [
"SwiftToolsSupport-auto",
"llbuildSwift"
],
"product_memberships" : [
"swift-driver",
"swift-build-sdk-interfaces",
"SwiftDriverExecution"
],
"sources" : [
"MultiJobExecutor.swift",
"SwiftDriverExecutor.swift",
"llbuild.swift"
],
"target_dependencies" : [
"SwiftDriver"
],
"type" : "library"
},
{
"c99name" : "SwiftDriver",
"module_type" : "SwiftTarget",
"name" : "SwiftDriver",
"path" : "Sources/SwiftDriver",
"product_dependencies" : [
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"swift-driver",
"swift-build-sdk-interfaces",
"SwiftDriver",
"SwiftDriverDynamic",
"SwiftDriverExecution"
],
"sources" : [
"Driver/CompilerMode.swift",
"Driver/DebugInfo.swift",
"Driver/Driver.swift",
"Driver/DriverVersion.swift",
"Driver/LinkKind.swift",
"Driver/ModuleOutputInfo.swift",
"Driver/OutputFileMap.swift",
"Driver/ToolExecutionDelegate.swift",
"Driver/WindowsExtensions.swift",
"Execution/ArgsResolver.swift",
"Execution/DriverExecutor.swift",
"Execution/ParsableOutput.swift",
"Execution/ProcessProtocol.swift",
"ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift",
"ExplicitModuleBuilds/InterModuleDependencies/CommonDependencyOperations.swift",
"ExplicitModuleBuilds/InterModuleDependencies/InterModuleDependencyGraph.swift",
"ExplicitModuleBuilds/InterModuleDependencies/InterModuleDependencyOracle.swift",
"ExplicitModuleBuilds/ModuleDependencyScanning.swift",
"ExplicitModuleBuilds/SerializableModuleArtifacts.swift",
"IncrementalCompilation/Bitcode/Bitcode.swift",
"IncrementalCompilation/Bitcode/BitcodeElement.swift",
"IncrementalCompilation/Bitcode/Bits.swift",
"IncrementalCompilation/Bitcode/Bitstream.swift",
"IncrementalCompilation/Bitcode/BitstreamReader.swift",
"IncrementalCompilation/Bitcode/BitstreamVisitor.swift",
"IncrementalCompilation/Bitcode/BitstreamWriter.swift",
"IncrementalCompilation/Bitcode/BlockInfo.swift",
"IncrementalCompilation/BuildRecord.swift",
"IncrementalCompilation/BuildRecordInfo.swift",
"IncrementalCompilation/DependencyGraphDotFileWriter.swift",
"IncrementalCompilation/DependencyKey.swift",
"IncrementalCompilation/DirectAndTransitiveCollections.swift",
"IncrementalCompilation/ExternalDependencyAndFingerprintEnforcer.swift",
"IncrementalCompilation/FirstWaveComputer.swift",
"IncrementalCompilation/IncrementalCompilationProtectedState.swift",
"IncrementalCompilation/IncrementalCompilationState+Extensions.swift",
"IncrementalCompilation/IncrementalCompilationState.swift",
"IncrementalCompilation/IncrementalCompilationSynchronizer.swift",
"IncrementalCompilation/IncrementalDependencyAndInputSetup.swift",
"IncrementalCompilation/InputInfo.swift",
"IncrementalCompilation/KeyAndFingerprintHolder.swift",
"IncrementalCompilation/ModuleDependencyGraph.swift",
"IncrementalCompilation/ModuleDependencyGraphParts/DependencySource.swift",
"IncrementalCompilation/ModuleDependencyGraphParts/Integrator.swift",
"IncrementalCompilation/ModuleDependencyGraphParts/InternedStrings.swift",
"IncrementalCompilation/ModuleDependencyGraphParts/Node.swift",
"IncrementalCompilation/ModuleDependencyGraphParts/NodeFinder.swift",
"IncrementalCompilation/ModuleDependencyGraphParts/Tracer.swift",
"IncrementalCompilation/Multidictionary.swift",
"IncrementalCompilation/SourceFileDependencyGraph.swift",
"IncrementalCompilation/SwiftSourceFile.swift",
"IncrementalCompilation/TwoDMap.swift",
"IncrementalCompilation/TwoLevelMap.swift",
"Jobs/APIDigesterJobs.swift",
"Jobs/AutolinkExtractJob.swift",
"Jobs/CommandLineArguments.swift",
"Jobs/CompileJob.swift",
"Jobs/DarwinToolchain+LinkerSupport.swift",
"Jobs/EmitModuleJob.swift",
"Jobs/EmitSupportedFeaturesJob.swift",
"Jobs/FrontendJobHelpers.swift",
"Jobs/GenerateDSYMJob.swift",
"Jobs/GeneratePCHJob.swift",
"Jobs/GeneratePCMJob.swift",
"Jobs/GenericUnixToolchain+LinkerSupport.swift",
"Jobs/InterpretJob.swift",
"Jobs/Job.swift",
"Jobs/LinkJob.swift",
"Jobs/MergeModuleJob.swift",
"Jobs/ModuleWrapJob.swift",
"Jobs/Planning.swift",
"Jobs/PrebuiltModulesJob.swift",
"Jobs/PrintSupportedFeaturesJob.swift",
"Jobs/PrintTargetInfoJob.swift",
"Jobs/ReplJob.swift",
"Jobs/SwiftHelpIntroJob.swift",
"Jobs/Toolchain+InterpreterSupport.swift",
"Jobs/Toolchain+LinkerSupport.swift",
"Jobs/VerifyDebugInfoJob.swift",
"Jobs/VerifyModuleInterfaceJob.swift",
"Jobs/WebAssemblyToolchain+LinkerSupport.swift",
"Jobs/WindowsToolchain+LinkerSupport.swift",
"SwiftScan/DependencyGraphBuilder.swift",
"SwiftScan/Loader.swift",
"SwiftScan/SwiftScan.swift",
"SwiftScan/SwiftScanCAS.swift",
"Toolchains/DarwinToolchain.swift",
"Toolchains/GenericUnixToolchain.swift",
"Toolchains/Toolchain.swift",
"Toolchains/WebAssemblyToolchain.swift",
"Toolchains/WindowsToolchain.swift",
"ToolingInterface/SimpleExecutor.swift",
"ToolingInterface/ToolingUtil.swift",
"Utilities/DOTJobGraphSerializer.swift",
"Utilities/DOTModuleDependencyGraphSerializer.swift",
"Utilities/DateAdditions.swift",
"Utilities/Diagnostics.swift",
"Utilities/FileList.swift",
"Utilities/FileType.swift",
"Utilities/PredictableRandomNumberGenerator.swift",
"Utilities/RelativePathAdditions.swift",
"Utilities/Sanitizer.swift",
"Utilities/StringAdditions.swift",
"Utilities/System.swift",
"Utilities/Triple+Platforms.swift",
"Utilities/Triple.swift",
"Utilities/TypedVirtualPath.swift",
"Utilities/Version.swift",
"Utilities/VirtualPath.swift"
],
"target_dependencies" : [
"SwiftOptions",
"CSwiftScan"
],
"type" : "library"
},
{
"c99name" : "IncrementalTestFramework",
"module_type" : "SwiftTarget",
"name" : "IncrementalTestFramework",
"path" : "Tests/IncrementalTestFramework",
"sources" : [
"AddOn.swift",
"CompiledSourceCollector.swift",
"Context.swift",
"Expectation.swift",
"ExpectedCompilations.swift",
"ExpectedProcessResult.swift",
"IncrementalTest.swift",
"Module.swift",
"Source.swift",
"Step.swift"
],
"target_dependencies" : [
"SwiftDriver",
"SwiftOptions",
"TestUtilities"
],
"type" : "library"
},
{
"c99name" : "IncrementalImportTests",
"module_type" : "SwiftTarget",
"name" : "IncrementalImportTests",
"path" : "Tests/IncrementalImportTests",
"product_dependencies" : [
"SwiftToolsSupport-auto"
],
"sources" : [
"AddFuncInImportedExtensionTest.swift",
"Antisymmetry.swift",
"HideAndShowFuncInStructAndExtensionTest.swift",
"RenameMemberOfImportedStructTest.swift",
"SpecificFuncAdditionInExtensionWithinModuleTest.swift",
"Transitivity.swift"
],
"target_dependencies" : [
"IncrementalTestFramework",
"TestUtilities"
],
"type" : "test"
},
{
"c99name" : "CSwiftScan",
"module_type" : "ClangTarget",
"name" : "CSwiftScan",
"path" : "Sources/CSwiftScan",
"product_memberships" : [
"swift-driver",
"swift-build-sdk-interfaces",
"SwiftDriver",
"SwiftDriverDynamic",
"SwiftDriverExecution"
],
"sources" : [
"CSwiftScanImpl.c"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.