Build Information
Successful build of swift-driver, reference main (7a96ff), with Swift 6.3 for Linux on 14 Apr 2026 03:50:48 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[393/424] Compiling SwiftDriver SerializableModuleArtifacts.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[394/424] Compiling SwiftDriver Bitcode.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[395/424] Compiling SwiftDriver BitcodeElement.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[396/424] Compiling SwiftDriver Bits.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[397/424] Compiling SwiftDriver Bitstream.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[398/424] Compiling SwiftDriver BitstreamReader.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[399/424] Compiling SwiftDriver BitstreamVisitor.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[400/424] Compiling SwiftDriver BitstreamWriter.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[401/424] Compiling SwiftDriver BlockInfo.swift
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift:451:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
449 | encoder.outputFormatting = [.prettyPrinted]
450 | let contents = try encoder.encode(allDependencyArtifacts)
451 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleId.moduleName)-dependencies.json"), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
452 | }
453 |
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:52:24: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
50 |
51 | if parsedOptions.hasArgument(.printPreprocessedExplicitDependencyGraph) {
52 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
53 | stdoutStream.flush()
54 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:71:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
69 | let outputFormat = parsedOptions.getLastArgument(.explicitDependencyGraphFormat)?.asSingle
70 | if outputFormat == nil || outputFormat == "json" {
71 | try stdoutStream <<< dependencyGraph.toJSONString()
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
72 | } else if outputFormat == "dot" {
73 | DOTModuleDependencyGraphSerializer(dependencyGraph).writeDOT(to: &stdoutStream)
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:142:69: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
140 | encoder.outputFormatting = [.prettyPrinted]
141 | let contents = try encoder.encode(placeholderArtifacts)
142 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-external-modules.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
143 | contents)
144 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:87: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:217:20: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
215 | let arguments: [String] = try executor.resolver.resolveArgumentList(for: scannerJob,
216 | useResponseFiles: .disabled)
217 | stdoutStream <<< arguments.map { $0.spm_shellEscaped() }.joined(separator: " ") <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
218 | stdoutStream.flush()
219 | }
/host/spi-builder-workspace/Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift:412:68: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
410 | encoder.outputFormatting = [.prettyPrinted]
411 | let contents = try encoder.encode(moduleInfos)
412 | return VirtualPath.createUniqueTemporaryFileWithKnownContents(.init("\(moduleOutputInfo.name)-batch-module-scan.json"),
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
413 | contents)
414 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[402/424] Compiling SwiftDriver Diagnostics.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[403/424] Compiling SwiftDriver FileList.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[404/424] Compiling SwiftDriver FileType.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[405/424] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[406/424] Compiling SwiftDriver RelativePathAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[407/424] Compiling SwiftDriver Sanitizer.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[408/424] Compiling SwiftDriver StringAdditions.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[409/424] Compiling SwiftDriver System.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[410/424] Compiling SwiftDriver Triple+Platforms.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[411/424] Compiling SwiftDriver Triple.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[412/424] Compiling SwiftDriver TypedVirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[413/424] Compiling SwiftDriver Version.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[414/424] Compiling SwiftDriver VirtualPath.swift
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:149:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
147 | return .absolute(path.parentDirectory)
148 | case .relative(let path):
149 | return .relative(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:151:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
149 | return .relative(RelativePath(path.dirname))
150 | case .temporary(let path), .temporaryWithKnownContents(let path, _):
151 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:153:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
151 | return .temporary(RelativePath(path.dirname))
152 | case .fileList(let path, _):
153 | return .temporary(RelativePath(path.dirname))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
154 | case .standardInput, .standardOutput:
155 | assertionFailure("Can't get directory of stdin/stdout")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:207:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
205 | return .absolute(try AbsolutePath(validating: path.pathString + suffix))
206 | case let .relative(path):
207 | return .relative(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:209:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
207 | return .relative(RelativePath(path.pathString + suffix))
208 | case let .temporary(path):
209 | return .temporary(RelativePath(path.pathString + suffix))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:211:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
209 | return .temporary(RelativePath(path.pathString + suffix))
210 | case let .temporaryWithKnownContents(path, contents):
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:213:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
211 | return .temporaryWithKnownContents(RelativePath(path.pathString + suffix), contents)
212 | case let .fileList(path, content):
213 | return .fileList(RelativePath(path.pathString + suffix), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
214 | case .standardInput, .standardOutput:
215 | assertionFailure("Can't append path component to standard in/out")
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:456:12: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
454 | let dirName = path.dirname == "." ? "" : path.dirname
455 | let fileExtension = path.extension.map { ".\($0)" } ?? ""
456 | return RelativePath(dirName + uniquedBaseName + fileExtension)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
457 | }
458 |
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:652:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
650 | return .absolute(try AbsolutePath(validating: path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
651 | case let .relative(path):
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:654:25: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
652 | return .relative(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
653 | case let .temporary(path):
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:656:42: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
654 | return .temporary(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)))
655 | case let .temporaryWithKnownContents(path, contents):
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
/host/spi-builder-workspace/Sources/SwiftDriver/Utilities/VirtualPath.swift:658:24: warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
656 | return .temporaryWithKnownContents(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), contents)
657 | case let .fileList(path, content):
658 | return .fileList(RelativePath(path.pathString.withoutExt(path.extension).appendingFileTypeExtension(fileType)), content)
| `- warning: 'init(_:)' is deprecated: use throwing variant instead [#DeprecatedDeclaration]
659 | case .standardInput, .standardOutput:
660 | return self
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[415/429] Wrapping AST for SwiftDriver for debugging
[416/429] Write Objects.LinkFileList
[418/429] Compiling SwiftDriverExecution SwiftDriverExecutor.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:93:24: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
94 | }
95 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[419/429] Compiling SwiftDriverExecution llbuild.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
25 | @_implementationOnly import llbuild
26 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
26 | #else
27 | @_implementationOnly import llbuild
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[419/429] Linking libSwiftDriverDynamic.so
[421/429] Emitting module SwiftDriverExecution
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
34 | @_implementationOnly import llbuild
35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:34:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
35 | #else
36 | @_implementationOnly import llbuild
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
25 | @_implementationOnly import llbuild
26 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/llbuild.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
26 | #else
27 | @_implementationOnly import llbuild
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
83 |
84 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
258 |
259 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:26:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
27 | let fileSystem: FileSystem
28 | public let resolver: ArgsResolver
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:32:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
30 |
31 | public init(diagnosticsEngine: DiagnosticsEngine,
32 | processSet: ProcessSet,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
33 | fileSystem: FileSystem,
34 | env: [String: String]) throws {
/host/spi-builder-workspace/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:92:92: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
90 |
91 | @discardableResult
92 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
93 | return try Process.checkNonZeroExit(arguments: args, environment: environment)
94 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[422/429] Compiling SwiftDriverExecution MultiJobExecutor.swift
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:33:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
34 | @_implementationOnly import llbuild
35 | #else
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:34:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftDriverExecution' may lead to instability during execution [#ImplementationOnlyDeprecated]
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 [#ImplementationOnlyDeprecated]
35 | #else
36 | @_implementationOnly import llbuild
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:82:21: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
83 |
84 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:113:19: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
111 | executorDelegate: JobExecutionDelegate,
112 | jobQueue: OperationQueue,
113 | processSet: ProcessSet?,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
114 | forceResponseFiles: Bool,
115 | recordedInputModificationDates: [TypedVirtualPath: TimePoint],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:257:27: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
258 |
259 | /// If true, always use response files to pass command line arguments.
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:280:17: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
278 | diagnosticsEngine: DiagnosticsEngine,
279 | numParallelJobs: Int? = nil,
280 | processSet: ProcessSet? = nil,
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
281 | forceResponseFiles: Bool = false,
282 | recordedInputModificationDates: [TypedVirtualPath: TimePoint] = [:],
/host/spi-builder-workspace/Sources/SwiftDriverExecution/MultiJobExecutor.swift:661:24: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)` [#DeprecatedDeclaration]
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:)` [#DeprecatedDeclaration]
662 | arguments: [],
663 | environment: env,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[423/430] Wrapping AST for SwiftDriverExecution for debugging
[425/440] Compiling TestUtilities Fixture.swift
/host/spi-builder-workspace/Tests/TestUtilities/Fixture.swift:33:9: warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
31 | ) -> AbsolutePath? {
32 | let packageRootPath: AbsolutePath =
33 | AbsolutePath(#file).parentDirectory.parentDirectory.parentDirectory
| `- warning: 'init(_:)' is deprecated: use throwing `init(validating:)` variant instead [#DeprecatedDeclaration]
34 | let fixturePath =
35 | AbsolutePath(relativePath.pathString,
/host/spi-builder-workspace/Tests/TestUtilities/Fixture.swift:35:9: warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead [#DeprecatedDeclaration]
33 | AbsolutePath(#file).parentDirectory.parentDirectory.parentDirectory
34 | let fixturePath =
35 | AbsolutePath(relativePath.pathString,
| `- warning: 'init(_:relativeTo:)' is deprecated: use throwing `init(validating:relativeTo:)` variant instead [#DeprecatedDeclaration]
36 | relativeTo: packageRootPath.appending(component: "TestInputs"))
37 | .appending(component: file)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[426/440] Emitting module TestUtilities
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[427/440] Compiling TestUtilities DriverExtensions.swift
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:23:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
21 | public init(
22 | args: [String],
23 | env: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
24 | diagnosticsEngine: DiagnosticsEngine = DiagnosticsEngine(handlers: [Driver.stderrDiagnosticsHandler]),
25 | fileSystem: FileSystem = localFileSystem,
/host/spi-builder-workspace/Tests/TestUtilities/DriverExtensions.swift:29:52: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
27 | ) throws {
28 | let executor = try SwiftDriverExecutor(diagnosticsEngine: diagnosticsEngine,
29 | processSet: ProcessSet(),
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
30 | fileSystem: fileSystem,
31 | env: env)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[428/440] Compiling TestUtilities OutputFileMapCreator.swift
[429/440] Compiling swift_driver main.swift
/host/spi-builder-workspace/Sources/swift-driver/main.swift:57:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
55 | signal(SIGINT, SIG_IGN)
56 | #endif
57 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
58 | interruptSignalSource.setEventHandler {
59 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/host/spi-builder-workspace/Sources/swift-driver/main.swift:66:17: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
64 | interruptSignalSource.resume()
65 |
66 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
67 | CommandLine.arguments.append("-explicit-module-build")
68 | }
/host/spi-builder-workspace/Sources/swift-driver/main.swift:67:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift. [#DeprecatedDeclaration]
65 |
66 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
67 | 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. [#DeprecatedDeclaration]
68 | }
69 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:94:58: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
92 | processSet: processSet,
93 | fileSystem: localFileSystem,
94 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
95 | var driver = try Driver(args: arguments,
96 | diagnosticsOutput: .engine(diagnosticsEngine),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[430/440] Emitting module swift_driver
/host/spi-builder-workspace/Sources/swift-driver/main.swift:57:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
55 | signal(SIGINT, SIG_IGN)
56 | #endif
57 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
58 | interruptSignalSource.setEventHandler {
59 | // Terminate running compiler jobs and let the driver exit gracefully, remembering
/host/spi-builder-workspace/Sources/swift-driver/main.swift:66:17: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
64 | interruptSignalSource.resume()
65 |
66 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
67 | CommandLine.arguments.append("-explicit-module-build")
68 | }
/host/spi-builder-workspace/Sources/swift-driver/main.swift:67:5: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift. [#DeprecatedDeclaration]
65 |
66 | if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
67 | 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. [#DeprecatedDeclaration]
68 | }
69 |
/host/spi-builder-workspace/Sources/swift-driver/main.swift:94:58: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
92 | processSet: processSet,
93 | fileSystem: localFileSystem,
94 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
95 | var driver = try Driver(args: arguments,
96 | diagnosticsOutput: .engine(diagnosticsEngine),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[431/440] Compiling TestUtilities PathExtensions.swift
[432/440] Compiling TestUtilities TemporaryFileMatching.swift
[435/452] Emitting module swift_build_sdk_interfaces
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:90:34: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
88 | try localFileSystem.createDirectory(outputDir, recursive: true)
89 | }
90 | let swiftcPathRaw = ProcessEnv.vars["SWIFT_EXEC"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
91 | var swiftcPath: AbsolutePath
92 | if let swiftcPathRaw = swiftcPathRaw {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:124:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
122 | .appending(component: "SystemVersion.plist"),
123 | to: sysVersionFile)
124 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
125 | let inputTuple = try collector.collectSwiftInterfaceMap()
126 | let allAdopters = inputTuple.adopters
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:135:37: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
133 | try localFileSystem.writeFileContents(tempPath, body: {
134 | for module in allModules {
135 | $0 <<< "import " <<< module <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
136 | }
137 | })
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:135:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
133 | try localFileSystem.writeFileContents(tempPath, body: {
134 | for module in allModules {
135 | $0 <<< "import " <<< module <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
136 | }
137 | })
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:135:12: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
133 | try localFileSystem.writeFileContents(tempPath, body: {
134 | for module in allModules {
135 | $0 <<< "import " <<< module <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
136 | }
137 | })
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:141:60: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
139 | processSet: processSet,
140 | fileSystem: localFileSystem,
141 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
142 | var args = ["swiftc",
143 | "-target", collector.targetTriple,
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:167:22: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
165 | if verbose {
166 | Driver.stdErrQueue.sync {
167 | stderrStream <<< "job count: \(jobs.count + danglingJobs.count)\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
168 | stderrStream.flush()
169 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[436/452] Compiling swift_build_sdk_interfaces main.swift
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:90:34: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
88 | try localFileSystem.createDirectory(outputDir, recursive: true)
89 | }
90 | let swiftcPathRaw = ProcessEnv.vars["SWIFT_EXEC"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
91 | var swiftcPath: AbsolutePath
92 | if let swiftcPathRaw = swiftcPathRaw {
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:124:20: warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
122 | .appending(component: "SystemVersion.plist"),
123 | to: sysVersionFile)
124 | let processSet = ProcessSet()
| `- warning: 'ProcessSet' is deprecated: Use `TaskGroup` with async `Process` APIs instead [#DeprecatedDeclaration]
125 | let inputTuple = try collector.collectSwiftInterfaceMap()
126 | let allAdopters = inputTuple.adopters
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:135:37: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
133 | try localFileSystem.writeFileContents(tempPath, body: {
134 | for module in allModules {
135 | $0 <<< "import " <<< module <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
136 | }
137 | })
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:135:26: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
133 | try localFileSystem.writeFileContents(tempPath, body: {
134 | for module in allModules {
135 | $0 <<< "import " <<< module <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
136 | }
137 | })
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:135:12: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
133 | try localFileSystem.writeFileContents(tempPath, body: {
134 | for module in allModules {
135 | $0 <<< "import " <<< module <<< "\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
136 | }
137 | })
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:141:60: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
139 | processSet: processSet,
140 | fileSystem: localFileSystem,
141 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
142 | var args = ["swiftc",
143 | "-target", collector.targetTriple,
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:167:22: warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
165 | if verbose {
166 | Driver.stdErrQueue.sync {
167 | stderrStream <<< "job count: \(jobs.count + danglingJobs.count)\n"
| `- warning: '<<<' is deprecated: use send(_:) function on WritableByteStream instead [#DeprecatedDeclaration]
168 | stderrStream.flush()
169 | }
/host/spi-builder-workspace/Sources/swift-build-sdk-interfaces/main.swift:41:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
39 | }
40 | if let env = env {
41 | return ProcessEnv.vars[env]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
42 | }
43 | return nil
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[436/452] Wrapping AST for swift-driver for debugging
[437/452] Write Objects.LinkFileList
[440/453] Emitting module IncrementalTestFramework
[440/453] Wrapping AST for swift-build-sdk-interfaces for debugging
[441/454] Write Objects.LinkFileList
[443/454] Compiling IncrementalTestFramework Source.swift
[444/454] Compiling IncrementalTestFramework Step.swift
[445/454] Compiling IncrementalTestFramework IncrementalTest.swift
[446/454] Compiling IncrementalTestFramework Context.swift
[447/454] Compiling IncrementalTestFramework Expectation.swift
[448/454] Compiling IncrementalTestFramework ExpectedProcessResult.swift
[449/454] Compiling IncrementalTestFramework AddOn.swift
[450/454] Compiling IncrementalTestFramework CompiledSourceCollector.swift
[451/454] Compiling IncrementalTestFramework ExpectedCompilations.swift
[452/454] Compiling IncrementalTestFramework Module.swift
[453/455] Linking swift-driver
[454/455] Linking swift-build-sdk-interfaces
Build complete! (215.87s)
Build complete.
{
"cxx_language_standard" : "c++14",
"dependencies" : [
{
"identity" : "swift-llbuild",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-llbuild.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "5.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "swift-driver",
"name" : "swift-driver",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.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" : "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",
"CrossModuleIncrementalBuildTests.swift",
"DependencyGraphSerializationTests.swift",
"ExplicitModuleBuildTests.swift",
"Helpers/AssertDiagnostics.swift",
"Helpers/MockingIncrementalCompilation.swift",
"Helpers/Permutations.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"
],
"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",
"Yams"
],
"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/ClangVersionedDependencyResolution.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/BackendJob.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/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",
"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.5"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.