Build Information
Failed to build SwiftPM, reference 1.0.8 (7df932), with Swift 6.3 for Linux on 14 Apr 2026 17:32:15 UTC.
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
[1273/1429] Compiling PackageModel BuildEnvironment.swift
[1274/1429] Compiling PackageModel BuildFlags.swift
[1295/1436] Wrapping AST for Crypto for debugging
[1297/1450] Emitting module PackageModel
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1298/1450] Compiling _CryptoExtras BoringSSLHelpers.swift
[1299/1450] Compiling _CryptoExtras CryptoKitErrors_boring.swift
[1300/1451] Compiling _CryptoExtras DigestType.swift
[1301/1451] Compiling _CryptoExtras Error.swift
[1302/1451] Compiling _CryptoExtras PEMDocument.swift
[1316/1451] Compiling _CryptoExtras RandomBytes.swift
[1331/1451] Compiling _CryptoExtras AES_GCM_SIV.swift
[1332/1451] Compiling _CryptoExtras Block Function.swift
[1333/1451] Compiling _CryptoExtras AES_GCM_SIV_boring.swift
[1334/1451] Compiling _CryptoExtras ChaCha20CTR_boring.swift
[1335/1451] Compiling _CryptoExtras ChaCha20CTR.swift
[1336/1451] Compiling _CryptoExtras RSA.swift
[1337/1451] Compiling _CryptoExtras RSA_boring.swift
[1338/1451] Emitting module _CryptoExtras
[1348/1451] Compiling _CryptoExtras RSA_security.swift
[1361/1452] Wrapping AST for _CryptoExtras for debugging
[1363/1452] Compiling SwiftDriver Diagnostics.swift
[1364/1452] Compiling SwiftDriver FileList.swift
[1365/1452] Compiling SwiftDriver FileType.swift
[1366/1452] Compiling SwiftDriver PredictableRandomNumberGenerator.swift
[1367/1452] Compiling SwiftDriver RelativePathAdditions.swift
[1368/1452] Compiling SwiftDriver Sanitizer.swift
[1369/1452] Compiling SwiftDriver StringAdditions.swift
[1370/1452] Compiling SwiftDriver System.swift
[1371/1452] Compiling SwiftDriver Triple+Platforms.swift
[1372/1452] Compiling SwiftDriver Triple.swift
[1373/1452] Compiling SwiftDriver TypedVirtualPath.swift
[1374/1452] Compiling SwiftDriver Version.swift
[1375/1452] Compiling SwiftDriver VirtualPath.swift
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:468:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
466 | let originalWorkingDirectory = originalWorkingDirectory ?? localFileSystem.currentWorkingDirectory
467 | // Select the correct binDir.
468 | if ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:85: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:542:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
540 | return path
541 | }
542 | let platformPath = try TSCBasic.Process.checkNonZeroExit(
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
543 | arguments: ["/usr/bin/xcrun", "--sdk", "macosx", "--show-sdk-platform-path"],
544 | environment: environment
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:468:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
466 | let originalWorkingDirectory = originalWorkingDirectory ?? localFileSystem.currentWorkingDirectory
467 | // Select the correct binDir.
468 | if ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:85: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:542:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
540 | return path
541 | }
542 | let platformPath = try TSCBasic.Process.checkNonZeroExit(
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
543 | arguments: ["/usr/bin/xcrun", "--sdk", "macosx", "--show-sdk-platform-path"],
544 | environment: environment
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:468:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
466 | let originalWorkingDirectory = originalWorkingDirectory ?? localFileSystem.currentWorkingDirectory
467 | // Select the correct binDir.
468 | if ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:85: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:542:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
540 | return path
541 | }
542 | let platformPath = try TSCBasic.Process.checkNonZeroExit(
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
543 | arguments: ["/usr/bin/xcrun", "--sdk", "macosx", "--show-sdk-platform-path"],
544 | environment: environment
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:468:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
466 | let originalWorkingDirectory = originalWorkingDirectory ?? localFileSystem.currentWorkingDirectory
467 | // Select the correct binDir.
468 | if ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:85: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:542:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
540 | return path
541 | }
542 | let platformPath = try TSCBasic.Process.checkNonZeroExit(
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
543 | arguments: ["/usr/bin/xcrun", "--sdk", "macosx", "--show-sdk-platform-path"],
544 | environment: environment
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:468:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
466 | let originalWorkingDirectory = originalWorkingDirectory ?? localFileSystem.currentWorkingDirectory
467 | // Select the correct binDir.
468 | if ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:85: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:542:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
540 | return path
541 | }
542 | let platformPath = try TSCBasic.Process.checkNonZeroExit(
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
543 | arguments: ["/usr/bin/xcrun", "--sdk", "macosx", "--show-sdk-platform-path"],
544 | environment: environment
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:468:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
466 | let originalWorkingDirectory = originalWorkingDirectory ?? localFileSystem.currentWorkingDirectory
467 | // Select the correct binDir.
468 | if ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:85: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:542:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
540 | return path
541 | }
542 | let platformPath = try TSCBasic.Process.checkNonZeroExit(
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
543 | arguments: ["/usr/bin/xcrun", "--sdk", "macosx", "--show-sdk-platform-path"],
544 | environment: environment
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:463:52: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
461 | _ binDir: AbsolutePath? = nil,
462 | originalWorkingDirectory: AbsolutePath? = nil,
463 | environment: [String: String] = ProcessEnv.vars,
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
464 | observabilityScope: ObservabilityScope? = nil
465 | ) throws -> SwiftSDK {
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:468:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
466 | let originalWorkingDirectory = originalWorkingDirectory ?? localFileSystem.currentWorkingDirectory
467 | // Select the correct binDir.
468 | if ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"] != nil {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:40: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:471:85: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
469 | print("SWIFTPM_CUSTOM_BINDIR was deprecated in favor of SWIFTPM_CUSTOM_BIN_DIR")
470 | }
471 | let customBinDir = (ProcessEnv.vars["SWIFTPM_CUSTOM_BIN_DIR"] ?? ProcessEnv.vars["SWIFTPM_CUSTOM_BINDIR"])
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
472 | .flatMap { try? AbsolutePath(validating: $0) }
473 | let binDir = try customBinDir ?? binDir ?? SwiftSDK.hostBinDir(
/host/spi-builder-workspace/Sources/PackageModel/SwiftSDKs/SwiftSDK.swift:542:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
540 | return path
541 | }
542 | let platformPath = try TSCBasic.Process.checkNonZeroExit(
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
543 | arguments: ["/usr/bin/xcrun", "--sdk", "macosx", "--show-sdk-platform-path"],
544 | environment: environment
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1383/1535] Wrapping AST for SwiftDriver for debugging
[1385/1535] Compiling X509 OCSPVersion.swift
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:758:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
756 | if triple.isDarwin() {
757 | let pluginServerPathFindArgs = ["/usr/bin/xcrun", "--find", "swift-plugin-server"]
758 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: pluginServerPathFindArgs, environment: [:])
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
759 | .spm_chomp() {
760 | return try AbsolutePath(validating: path)
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:775:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
773 | // XCTest is optional on macOS, for example when Xcode is not installed
774 | let xctestFindArgs = ["/usr/bin/xcrun", "--sdk", "macosx", "--find", "xctest"]
775 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: xctestFindArgs, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
776 | .spm_chomp()
777 | {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1386/1535] Compiling X509 PKCS8PrivateKey.swift
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:758:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
756 | if triple.isDarwin() {
757 | let pluginServerPathFindArgs = ["/usr/bin/xcrun", "--find", "swift-plugin-server"]
758 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: pluginServerPathFindArgs, environment: [:])
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
759 | .spm_chomp() {
760 | return try AbsolutePath(validating: path)
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:775:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
773 | // XCTest is optional on macOS, for example when Xcode is not installed
774 | let xctestFindArgs = ["/usr/bin/xcrun", "--sdk", "macosx", "--find", "xctest"]
775 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: xctestFindArgs, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
776 | .spm_chomp()
777 | {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1387/1535] Compiling X509 RDNAttribute.swift
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:758:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
756 | if triple.isDarwin() {
757 | let pluginServerPathFindArgs = ["/usr/bin/xcrun", "--find", "swift-plugin-server"]
758 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: pluginServerPathFindArgs, environment: [:])
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
759 | .spm_chomp() {
760 | return try AbsolutePath(validating: path)
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:775:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
773 | // XCTest is optional on macOS, for example when Xcode is not installed
774 | let xctestFindArgs = ["/usr/bin/xcrun", "--sdk", "macosx", "--find", "xctest"]
775 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: xctestFindArgs, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
776 | .spm_chomp()
777 | {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1388/1535] Compiling X509 RandomNumberGenerator+bytes.swift
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:758:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
756 | if triple.isDarwin() {
757 | let pluginServerPathFindArgs = ["/usr/bin/xcrun", "--find", "swift-plugin-server"]
758 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: pluginServerPathFindArgs, environment: [:])
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
759 | .spm_chomp() {
760 | return try AbsolutePath(validating: path)
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:775:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
773 | // XCTest is optional on macOS, for example when Xcode is not installed
774 | let xctestFindArgs = ["/usr/bin/xcrun", "--sdk", "macosx", "--find", "xctest"]
775 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: xctestFindArgs, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
776 | .spm_chomp()
777 | {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1389/1535] Compiling X509 RelativeDistinguishedName.swift
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:758:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
756 | if triple.isDarwin() {
757 | let pluginServerPathFindArgs = ["/usr/bin/xcrun", "--find", "swift-plugin-server"]
758 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: pluginServerPathFindArgs, environment: [:])
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
759 | .spm_chomp() {
760 | return try AbsolutePath(validating: path)
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:775:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
773 | // XCTest is optional on macOS, for example when Xcode is not installed
774 | let xctestFindArgs = ["/usr/bin/xcrun", "--sdk", "macosx", "--find", "xctest"]
775 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: xctestFindArgs, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
776 | .spm_chomp()
777 | {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1390/1535] Compiling X509 SEC1PrivateKey.swift
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:758:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
756 | if triple.isDarwin() {
757 | let pluginServerPathFindArgs = ["/usr/bin/xcrun", "--find", "swift-plugin-server"]
758 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: pluginServerPathFindArgs, environment: [:])
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
759 | .spm_chomp() {
760 | return try AbsolutePath(validating: path)
/host/spi-builder-workspace/Sources/PackageModel/UserToolchain.swift:775:49: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
773 | // XCTest is optional on macOS, for example when Xcode is not installed
774 | let xctestFindArgs = ["/usr/bin/xcrun", "--sdk", "macosx", "--find", "xctest"]
775 | if let path = try? TSCBasic.Process.checkNonZeroExit(arguments: xctestFindArgs, environment: environment)
| |- warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' instead
776 | .spm_chomp()
777 | {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1391/1535] Compiling X509 CMSOperations.swift
[1392/1535] Compiling X509 CMSSignature.swift
[1393/1535] Compiling X509 CMSSignedData.swift
[1394/1535] Compiling X509 CMSSignerIdentifier.swift
[1395/1535] Compiling X509 CMSSignerInfo.swift
[1396/1535] Compiling X509 CMSVersion.swift
[1397/1535] Compiling X509 Digests.swift
[1398/1544] Wrapping AST for PackageModel for debugging
[1400/1547] Compiling PackageFingerprint PackageFingerprintStorage.swift
[1401/1547] Emitting module SourceControl
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:45:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
43 | func run(
44 | _ args: [String],
45 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
46 | outputRedirection: TSCBasic.Process.OutputRedirection = .collect
47 | ) throws -> String {
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:100:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
98 | private func callGit(
99 | _ args: [String],
100 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
101 | repository: RepositorySpecifier,
102 | failureMessage: String = "",
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:141:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
139 | private func callGit(
140 | _ args: String...,
141 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
142 | repository: RepositorySpecifier,
143 | failureMessage: String = "",
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:443:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
441 | private func callGit(
442 | _ args: String...,
443 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
444 | failureMessage: String = "",
445 | progress: FetchProgress.Handler? = nil
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1402/1547] Compiling DriverSupport SPMSwiftDriverExecutor.swift
/host/spi-builder-workspace/Sources/DriverSupport/SPMSwiftDriverExecutor.swift:72:37: warning: 'checkNonZeroExit(arguments:environment:loggingHandler:)' is deprecated: renamed to 'checkNonZeroExit(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
70 |
71 | public func checkNonZeroExit(args: String..., environment: [String : String]) throws -> String {
72 | return try TSCBasic.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
73 | }
74 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1403/1547] Compiling PackageFingerprint Model.swift
[1404/1547] Emitting module DriverSupport
[1405/1547] Compiling DriverSupport DriverSupportUtils.swift
/host/spi-builder-workspace/Sources/DriverSupport/DriverSupportUtils.swift:71:33: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
69 | let helpJob = try Process.launchProcess(
70 | arguments: [swiftcPathString, "-h"],
71 | env: ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
72 | )
73 | let processResult = try helpJob.waitUntilExit()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1406/1548] Wrapping AST for DriverSupport for debugging
[1408/1548] Compiling SourceControl Repository.swift
[1409/1548] Compiling SourceControl RepositoryManager.swift
/host/spi-builder-workspace/Sources/SourceControl/RepositoryManager.swift:334:51: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
332 |
333 | // We are expecting handle.repository.url to always be a resolved absolute path.
334 | let shouldCacheLocalPackages = ProcessEnv.vars["SWIFTPM_TESTS_PACKAGECACHE"] == "1" || cacheLocalPackages
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
335 |
336 | if let cachePath, !(handle.repository.isLocal && !shouldCacheLocalPackages) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1410/1548] Compiling X509 DNBuilder.swift
[1411/1548] Compiling X509 LocalityName.swift
[1412/1548] Compiling X509 OrganizationName.swift
[1413/1548] Compiling X509 OrganizationalUnitName.swift
[1414/1548] Compiling X509 StateOrProvinceName.swift
[1415/1548] Compiling X509 StreetAddress.swift
[1416/1548] Compiling X509 Error.swift
[1417/1548] Compiling X509 AuthorityInformationAccess.swift
[1418/1548] Compiling X509 AuthorityKeyIdentifier.swift
[1419/1548] Compiling X509 BasicConstraints.swift
[1420/1548] Compiling X509 ExtendedKeyUsage.swift
[1421/1548] Compiling X509 ExtensionIdentifiers.swift
[1422/1559] Emitting module PackageFingerprint
[1423/1559] Compiling PackageFingerprint FilePackageFingerprintStorage.swift
[1425/1560] Compiling X509 CMSEncapsulatedContentInfo.swift
[1426/1560] Compiling X509 CMSIssuerAndSerialNumber.swift
[1434/1560] Compiling X509 DistinguishedName.swift
[1435/1560] Compiling X509 CommonName.swift
[1436/1560] Compiling X509 CountryName.swift
[1436/1560] Wrapping AST for PackageFingerprint for debugging
[1438/1560] Compiling X509 CSRAttribute.swift
[1439/1560] Compiling X509 CSRAttributes.swift
[1440/1560] Compiling X509 CSRVersion.swift
[1441/1560] Compiling X509 CertificateSigningRequest.swift
[1442/1560] Compiling X509 CertificationRequestInfo.swift
[1443/1560] Compiling X509 ExtensionRequest.swift
[1444/1560] Compiling X509 Certificate.swift
[1445/1560] Compiling X509 CertificatePrivateKey.swift
[1446/1560] Compiling X509 CertificatePublicKey.swift
[1447/1560] Compiling X509 CertificateSerialNumber.swift
[1448/1560] Compiling X509 CertificateVersion.swift
[1449/1560] Compiling X509 CMSContentInfo.swift
[1450/1560] Compiling X509 PolicyBuilder.swift
[1451/1560] Compiling X509 BasicConstraintsPolicy.swift
[1452/1560] Compiling X509 DNSNames.swift
[1453/1560] Compiling X509 DirectoryNames.swift
[1454/1560] Compiling X509 ExpiryPolicy.swift
[1455/1560] Compiling X509 IPConstraints.swift
[1456/1560] Compiling X509 NameConstraintsPolicy.swift
[1457/1560] Compiling X509 RFC5280Policy.swift
[1458/1560] Compiling X509 URIConstraints.swift
[1459/1560] Compiling X509 VersionPolicy.swift
[1460/1560] Compiling X509 UnverifiedChain.swift
[1461/1560] Compiling X509 OCSPTBSRequest.swift
[1468/1560] Compiling X509 Signature.swift
[1469/1560] Compiling X509 SignatureAlgorithm.swift
[1470/1560] Compiling X509 AnyPolicy.swift
[1471/1560] Compiling X509 CertificateStore.swift
[1472/1560] Compiling X509 OCSPExtensionID.swift
[1473/1560] Compiling X509 OCSPNonce.swift
[1474/1560] Compiling X509 OCSPPolicy.swift
[1475/1560] Compiling X509 OCSPRequest.swift
[1476/1560] Compiling X509 OCSPResponse.swift
[1477/1560] Compiling X509 OCSPResponseBytes.swift
[1478/1560] Compiling X509 OCSPResponseData.swift
[1479/1560] Compiling X509 OCSPResponseStatus.swift
[1480/1560] Compiling X509 OCSPSignature.swift
[1481/1560] Compiling X509 OCSPSingleRequest.swift
[1482/1560] Compiling X509 OCSPSingleResponse.swift
[1483/1560] Compiling SourceControl GitRepository.swift
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:45:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
43 | func run(
44 | _ args: [String],
45 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
46 | outputRedirection: TSCBasic.Process.OutputRedirection = .collect
47 | ) throws -> String {
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:100:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
98 | private func callGit(
99 | _ args: [String],
100 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
101 | repository: RepositorySpecifier,
102 | failureMessage: String = "",
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:141:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
139 | private func callGit(
140 | _ args: String...,
141 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
142 | repository: RepositorySpecifier,
143 | failureMessage: String = "",
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:443:49: warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
441 | private func callGit(
442 | _ args: String...,
443 | environment: EnvironmentVariables = Git.environment,
| |- warning: 'environment' is deprecated: Previous `[String: String]` representation did not account for case insensitivity on Windows. [#DeprecatedDeclaration]
| `- note: use 'environmentBlock' instead
444 | failureMessage: String = "",
445 | progress: FetchProgress.Handler? = nil
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:48:32: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' [#DeprecatedDeclaration]
46 | outputRedirection: TSCBasic.Process.OutputRedirection = .collect
47 | ) throws -> String {
48 | let process = TSCBasic.Process(
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
49 | arguments: [Git.tool] + args,
50 | environment: environment,
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:69:26: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)` [#DeprecatedDeclaration]
67 | } catch {
68 | // Handle a failure to even launch the Git tool by synthesizing a result that we can wrap an error around.
69 | let result = ProcessResult(
| `- warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)` [#DeprecatedDeclaration]
70 | arguments: process.arguments,
71 | environment: process.environment,
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:71:38: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
69 | let result = ProcessResult(
70 | arguments: process.arguments,
71 | environment: process.environment,
| `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]
72 | exitStatus: .terminated(code: -1),
73 | output: .failure(error),
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:120:30: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)` [#DeprecatedDeclaration]
118 | )
119 | } catch let error as GitShellError {
120 | let result = ProcessResult(
| `- warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)` [#DeprecatedDeclaration]
121 | arguments: error.result.arguments,
122 | environment: error.result.environment,
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:122:47: warning: 'environment' is deprecated: renamed to 'env' [#DeprecatedDeclaration]
120 | let result = ProcessResult(
121 | arguments: error.result.arguments,
122 | environment: error.result.environment,
| |- warning: 'environment' is deprecated: renamed to 'env' [#DeprecatedDeclaration]
| `- note: use 'env' instead
123 | exitStatus: error.result.exitStatus,
124 | output: .success(stdoutBytes),
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:462:30: warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)` [#DeprecatedDeclaration]
460 | )
461 | } catch let error as GitShellError {
462 | let result = ProcessResult(
| `- warning: 'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)` [#DeprecatedDeclaration]
463 | arguments: error.result.arguments,
464 | environment: error.result.environment,
/host/spi-builder-workspace/Sources/SourceControl/GitRepository.swift:464:47: warning: 'environment' is deprecated: renamed to 'env' [#DeprecatedDeclaration]
462 | let result = ProcessResult(
463 | arguments: error.result.arguments,
464 | environment: error.result.environment,
| |- warning: 'environment' is deprecated: renamed to 'env' [#DeprecatedDeclaration]
| `- note: use 'env' instead
465 | exitStatus: error.result.exitStatus,
466 | output: .success(stdoutBytes),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1484/1561] Wrapping AST for SourceControl for debugging
[1486/1576] Compiling X509 KeyUsage.swift
[1487/1576] Compiling X509 NameConstraints.swift
[1488/1576] Compiling X509 SubjectAlternativeName.swift
[1489/1576] Compiling X509 SubjectKeyIdentifier.swift
[1490/1576] Compiling X509 Extension.swift
[1491/1576] Compiling X509 Extensions.swift
[1492/1576] Compiling X509 ExtensionsBuilder.swift
[1493/1576] Compiling X509 GeneralName.swift
[1494/1576] Compiling X509 BasicOCSPResponse.swift
[1495/1576] Compiling X509 DirectoryString.swift
[1496/1576] Compiling X509 OCSPCertID.swift
[1497/1576] Compiling X509 OCSPCertStatus.swift
[1498/1576] Emitting module X509
[1499/1576] Compiling PackageLoading Platform.swift
[1500/1576] Compiling PackageLoading RegistryReleaseMetadataSerialization.swift
[1501/1576] Compiling PackageLoading Target+PkgConfig.swift
[1502/1576] Compiling PackageLoading TargetSourcesBuilder.swift
[1503/1577] Compiling PackageLoading ManifestLoader.swift
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:265:32: warning: converting a value of type '(__shared sending Result<Manifest, any Error>) -> ()' to type '(Result<Manifest, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
263 | delegateQueue: delegateQueue,
264 | callbackQueue: callbackQueue,
265 | completion: $0.resume(with:)
| |- warning: converting a value of type '(__shared sending Result<Manifest, any Error>) -> ()' to type '(Result<Manifest, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
266 | )
267 | }
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:860:47: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
858 | // FIXME: Workaround for the module cache bug that's been haunting Swift CI
859 | // <rdar://problem/48443680>
860 | let moduleCachePath = try (ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]).flatMap{ try AbsolutePath(validating: $0) }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
861 |
862 | var cmd: [String] = []
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:860:98: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
858 | // FIXME: Workaround for the module cache bug that's been haunting Swift CI
859 | // <rdar://problem/48443680>
860 | let moduleCachePath = try (ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]).flatMap{ try AbsolutePath(validating: $0) }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
861 |
862 | var cmd: [String] = []
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:958:38: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
956 |
957 | // Compile the manifest.
958 | TSCBasic.Process.popen(arguments: cmd, environment: self.toolchain.swiftCompilerEnvironment, queue: callbackQueue) { result in
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
959 | dispatchPrecondition(condition: .onQueue(callbackQueue))
960 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1050:54: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1048 | }
1049 |
1050 | var environment = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1051 | #if os(Windows)
1052 | let windowsPathComponent = runtimePath.pathString.replacingOccurrences(of: "/", with: "\\")
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1057:42: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
1055 |
1056 | let cleanupAfterRunning = cleanupIfError.delay()
1057 | TSCBasic.Process.popen(arguments: cmd, environment: environment, queue: callbackQueue) { result in
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
1058 | dispatchPrecondition(condition: .onQueue(callbackQueue))
1059 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:953:21: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
951 | #endif
952 | let compiledManifestFile = tmpDir.appending("\(packageIdentity)-manifest\(executableSuffix)")
953 | cmd += ["-o", compiledManifestFile.pathString]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
954 |
955 | evaluationResult.compilerCommandLine = cmd
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:955:21: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
953 | cmd += ["-o", compiledManifestFile.pathString]
954 |
955 | evaluationResult.compilerCommandLine = cmd
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
956 |
957 | // Compile the manifest.
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:955:60: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
953 | cmd += ["-o", compiledManifestFile.pathString]
954 |
955 | evaluationResult.compilerCommandLine = cmd
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
956 |
957 | // Compile the manifest.
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:958:55: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
956 |
957 | // Compile the manifest.
958 | TSCBasic.Process.popen(arguments: cmd, environment: self.toolchain.swiftCompilerEnvironment, queue: callbackQueue) { result in
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
959 | dispatchPrecondition(condition: .onQueue(callbackQueue))
960 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:967:29: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
965 | do {
966 | compilerResult = try result.get()
967 | evaluationResult.compilerOutput = try (compilerResult.utf8Output() + compilerResult.utf8stderrOutput()).spm_chuzzle()
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
968 | } catch {
969 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:974:56: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
972 | // Return now if there was an error.
973 | if compilerResult.exitStatus != .terminated(code: 0) {
974 | return completion(.success(evaluationResult))
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
975 | }
976 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:983:25: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
981 | }
982 |
983 | cmd = [compiledManifestFile.pathString]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
984 | #if os(Windows)
985 | // NOTE: `_get_osfhandle` returns a non-owning, unsafe,
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:990:25: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
988 | cmd += ["-handle", "\(String(hFile, radix: 16))"]
989 | #else
990 | cmd += ["-fileno", "\(fileno(jsonOutputFileDesc))"]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
991 | #endif
992 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1012:29: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1010 | gitInformation: gitInformation
1011 | )
1012 | cmd += ["-context", try contextModel.encode()]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1013 | } catch {
1014 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1024:33: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1022 | let strictness: Sandbox.Strictness = toolsVersion < .v5_3 ? .manifest_pre_53 : .default
1023 | do {
1024 | cmd = try Sandbox.apply(command: cmd, fileSystem: localFileSystem, strictness: strictness, writableDirectories: cacheDirectories)
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1025 | } catch {
1026 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1024:66: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1022 | let strictness: Sandbox.Strictness = toolsVersion < .v5_3 ? .manifest_pre_53 : .default
1023 | do {
1024 | cmd = try Sandbox.apply(command: cmd, fileSystem: localFileSystem, strictness: strictness, writableDirectories: cacheDirectories)
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1025 | } catch {
1026 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1057:59: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1055 |
1056 | let cleanupAfterRunning = cleanupIfError.delay()
1057 | TSCBasic.Process.popen(arguments: cmd, environment: environment, queue: callbackQueue) { result in
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1058 | dispatchPrecondition(condition: .onQueue(callbackQueue))
1059 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1067:37: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1065 | if let runOutput = try (runResult.utf8Output() + runResult.utf8stderrOutput()).spm_chuzzle() {
1066 | // Append the runtime output to any compiler output we've received.
1067 | evaluationResult.compilerOutput = (evaluationResult.compilerOutput ?? "") + runOutput
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1068 | }
1069 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1067:72: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1065 | if let runOutput = try (runResult.utf8Output() + runResult.utf8stderrOutput()).spm_chuzzle() {
1066 | // Append the runtime output to any compiler output we've received.
1067 | evaluationResult.compilerOutput = (evaluationResult.compilerOutput ?? "") + runOutput
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1068 | }
1069 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1074:37: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1072 | // TODO: should this simply be an error?
1073 | // return completion(.failure(ProcessResult.Error.nonZeroExit(runResult)))
1074 | evaluationResult.errorOutput = evaluationResult.compilerOutput
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1075 | return completion(.success(evaluationResult))
1076 | }
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1074:68: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1072 | // TODO: should this simply be an error?
1073 | // return completion(.failure(ProcessResult.Error.nonZeroExit(runResult)))
1074 | evaluationResult.errorOutput = evaluationResult.compilerOutput
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1075 | return completion(.success(evaluationResult))
1076 | }
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1075:64: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1073 | // return completion(.failure(ProcessResult.Error.nonZeroExit(runResult)))
1074 | evaluationResult.errorOutput = evaluationResult.compilerOutput
1075 | return completion(.success(evaluationResult))
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1076 | }
1077 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1080:33: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1078 | // Read the JSON output that was emitted by libPackageDescription.
1079 | let jsonOutput: String = try localFileSystem.readFileContents(jsonOutputFile)
1080 | evaluationResult.manifestJSON = jsonOutput
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1081 |
1082 | delegateQueue?.async {
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1091:53: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1089 | }
1090 |
1091 | completion(.success(evaluationResult))
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1092 | } catch {
1093 | completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1304:14: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1302 | extension ProcessEnv {
1303 | fileprivate static var cachableVars: EnvironmentVariables {
1304 | Self.vars.cachable
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1305 | }
1306 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1504/1577] Compiling PackageLoading ManifestSignatureParser.swift
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:265:32: warning: converting a value of type '(__shared sending Result<Manifest, any Error>) -> ()' to type '(Result<Manifest, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
263 | delegateQueue: delegateQueue,
264 | callbackQueue: callbackQueue,
265 | completion: $0.resume(with:)
| |- warning: converting a value of type '(__shared sending Result<Manifest, any Error>) -> ()' to type '(Result<Manifest, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
266 | )
267 | }
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:860:47: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
858 | // FIXME: Workaround for the module cache bug that's been haunting Swift CI
859 | // <rdar://problem/48443680>
860 | let moduleCachePath = try (ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]).flatMap{ try AbsolutePath(validating: $0) }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
861 |
862 | var cmd: [String] = []
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:860:98: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
858 | // FIXME: Workaround for the module cache bug that's been haunting Swift CI
859 | // <rdar://problem/48443680>
860 | let moduleCachePath = try (ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]).flatMap{ try AbsolutePath(validating: $0) }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
861 |
862 | var cmd: [String] = []
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:958:38: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
956 |
957 | // Compile the manifest.
958 | TSCBasic.Process.popen(arguments: cmd, environment: self.toolchain.swiftCompilerEnvironment, queue: callbackQueue) { result in
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
959 | dispatchPrecondition(condition: .onQueue(callbackQueue))
960 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1050:54: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1048 | }
1049 |
1050 | var environment = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1051 | #if os(Windows)
1052 | let windowsPathComponent = runtimePath.pathString.replacingOccurrences(of: "/", with: "\\")
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1057:42: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
1055 |
1056 | let cleanupAfterRunning = cleanupIfError.delay()
1057 | TSCBasic.Process.popen(arguments: cmd, environment: environment, queue: callbackQueue) { result in
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
1058 | dispatchPrecondition(condition: .onQueue(callbackQueue))
1059 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:953:21: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
951 | #endif
952 | let compiledManifestFile = tmpDir.appending("\(packageIdentity)-manifest\(executableSuffix)")
953 | cmd += ["-o", compiledManifestFile.pathString]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
954 |
955 | evaluationResult.compilerCommandLine = cmd
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:955:21: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
953 | cmd += ["-o", compiledManifestFile.pathString]
954 |
955 | evaluationResult.compilerCommandLine = cmd
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
956 |
957 | // Compile the manifest.
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:955:60: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
953 | cmd += ["-o", compiledManifestFile.pathString]
954 |
955 | evaluationResult.compilerCommandLine = cmd
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
956 |
957 | // Compile the manifest.
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:958:55: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
956 |
957 | // Compile the manifest.
958 | TSCBasic.Process.popen(arguments: cmd, environment: self.toolchain.swiftCompilerEnvironment, queue: callbackQueue) { result in
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
959 | dispatchPrecondition(condition: .onQueue(callbackQueue))
960 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:967:29: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
965 | do {
966 | compilerResult = try result.get()
967 | evaluationResult.compilerOutput = try (compilerResult.utf8Output() + compilerResult.utf8stderrOutput()).spm_chuzzle()
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
968 | } catch {
969 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:974:56: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
972 | // Return now if there was an error.
973 | if compilerResult.exitStatus != .terminated(code: 0) {
974 | return completion(.success(evaluationResult))
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
975 | }
976 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:983:25: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
981 | }
982 |
983 | cmd = [compiledManifestFile.pathString]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
984 | #if os(Windows)
985 | // NOTE: `_get_osfhandle` returns a non-owning, unsafe,
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:990:25: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
988 | cmd += ["-handle", "\(String(hFile, radix: 16))"]
989 | #else
990 | cmd += ["-fileno", "\(fileno(jsonOutputFileDesc))"]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
991 | #endif
992 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1012:29: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1010 | gitInformation: gitInformation
1011 | )
1012 | cmd += ["-context", try contextModel.encode()]
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1013 | } catch {
1014 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1024:33: warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1022 | let strictness: Sandbox.Strictness = toolsVersion < .v5_3 ? .manifest_pre_53 : .default
1023 | do {
1024 | cmd = try Sandbox.apply(command: cmd, fileSystem: localFileSystem, strictness: strictness, writableDirectories: cacheDirectories)
| `- warning: mutation of captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1025 | } catch {
1026 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1024:66: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1022 | let strictness: Sandbox.Strictness = toolsVersion < .v5_3 ? .manifest_pre_53 : .default
1023 | do {
1024 | cmd = try Sandbox.apply(command: cmd, fileSystem: localFileSystem, strictness: strictness, writableDirectories: cacheDirectories)
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1025 | } catch {
1026 | return completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1057:59: warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1055 |
1056 | let cleanupAfterRunning = cleanupIfError.delay()
1057 | TSCBasic.Process.popen(arguments: cmd, environment: environment, queue: callbackQueue) { result in
| `- warning: reference to captured var 'cmd' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1058 | dispatchPrecondition(condition: .onQueue(callbackQueue))
1059 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1067:37: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1065 | if let runOutput = try (runResult.utf8Output() + runResult.utf8stderrOutput()).spm_chuzzle() {
1066 | // Append the runtime output to any compiler output we've received.
1067 | evaluationResult.compilerOutput = (evaluationResult.compilerOutput ?? "") + runOutput
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1068 | }
1069 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1067:72: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1065 | if let runOutput = try (runResult.utf8Output() + runResult.utf8stderrOutput()).spm_chuzzle() {
1066 | // Append the runtime output to any compiler output we've received.
1067 | evaluationResult.compilerOutput = (evaluationResult.compilerOutput ?? "") + runOutput
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1068 | }
1069 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1074:37: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1072 | // TODO: should this simply be an error?
1073 | // return completion(.failure(ProcessResult.Error.nonZeroExit(runResult)))
1074 | evaluationResult.errorOutput = evaluationResult.compilerOutput
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1075 | return completion(.success(evaluationResult))
1076 | }
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1074:68: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1072 | // TODO: should this simply be an error?
1073 | // return completion(.failure(ProcessResult.Error.nonZeroExit(runResult)))
1074 | evaluationResult.errorOutput = evaluationResult.compilerOutput
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1075 | return completion(.success(evaluationResult))
1076 | }
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1075:64: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1073 | // return completion(.failure(ProcessResult.Error.nonZeroExit(runResult)))
1074 | evaluationResult.errorOutput = evaluationResult.compilerOutput
1075 | return completion(.success(evaluationResult))
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1076 | }
1077 |
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1080:33: warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1078 | // Read the JSON output that was emitted by libPackageDescription.
1079 | let jsonOutput: String = try localFileSystem.readFileContents(jsonOutputFile)
1080 | evaluationResult.manifestJSON = jsonOutput
| `- warning: mutation of captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1081 |
1082 | delegateQueue?.async {
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1091:53: warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1089 | }
1090 |
1091 | completion(.success(evaluationResult))
| `- warning: reference to captured var 'evaluationResult' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1092 | } catch {
1093 | completion(.failure(error))
/host/spi-builder-workspace/Sources/PackageLoading/ManifestLoader.swift:1304:14: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1302 | extension ProcessEnv {
1303 | fileprivate static var cachableVars: EnvironmentVariables {
1304 | Self.vars.cachable
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
1305 | }
1306 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1505/1577] Emitting module PackageLoading
[1506/1577] Compiling PackageLoading ManifestJSONParser.swift
[1507/1577] Compiling PackageLoading ManifestLoader+Validation.swift
[1508/1577] Compiling PackageLoading ToolsVersionParser.swift
[1509/1577] Compiling PackageLoading ContextModel.swift
[1510/1577] Compiling PackageLoading Diagnostics.swift
[1511/1577] Compiling X509 VerificationDiagnostic.swift
[1512/1577] Compiling X509 Verifier.swift
[1513/1577] Compiling X509 VerifierPolicy.swift
[1514/1577] Compiling X509 AlgorithmIdentifier.swift
[1515/1577] Compiling X509 ECDSASignature.swift
[1516/1577] Compiling X509 RSAPKCS1PublicKey.swift
[1517/1577] Compiling X509 SubjectPublicKeyInfo.swift
[1518/1577] Compiling X509 TBSCertificate.swift
[1519/1577] Compiling X509 Time.swift
[1520/1577] Compiling X509 TimeCalculations.swift
[1521/1577] Compiling X509 Validity.swift
[1522/1586] Wrapping AST for X509 for debugging
[1524/1595] Compiling PackageCollectionsSigning Utilities.swift
[1525/1595] Compiling PackageSigning X509Extensions.swift
[1526/1596] Compiling PackageCollectionsSigning Base64URL.swift
[1527/1596] Compiling PackageSigning SigningIdentity.swift
[1528/1596] Compiling PackageSigning VerifierPolicies.swift
[1529/1596] Compiling PackageSigning SigningEntity.swift
[1530/1596] Compiling PackageCollectionsSigning Signature.swift
[1531/1596] Compiling PackageSigning FilePackageSigningEntityStorage.swift
[1532/1596] Compiling PackageSigning PackageSigningEntityStorage.swift
[1533/1596] Compiling PackageSigning CertificateStores.swift
[1534/1596] Compiling PackageSigning SignatureProvider.swift
[1535/1596] Emitting module PackageSigning
[1536/1596] Compiling PackageCollectionsSigning PackageCollectionSigning.swift
[1537/1596] Emitting module PackageCollectionsSigning
[1538/1596] Compiling PackageCollectionsSigning CertificatePolicy.swift
[1539/1596] Compiling PackageCollectionsSigning X509Extensions.swift
[1540/1596] Compiling PackageCollectionsSigning embedded_resources.swift
[1542/1597] Compiling PackageSigning embedded_resources.swift
[1543/1598] Wrapping AST for PackageCollectionsSigning for debugging
[1544/1622] Wrapping AST for PackageSigning for debugging
[1546/1622] Compiling PackageCollections PackageCollections+Configuration.swift
[1547/1622] Compiling PackageCollections PackageCollections+Storage.swift
[1548/1622] Compiling PackageCollections PackageIndex+Configuration.swift
/host/spi-builder-workspace/Sources/PackageLoading/PkgConfig.swift:129:44: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
127 | private static var envSearchPaths: [AbsolutePath] {
128 | get throws {
129 | if let configPath = ProcessEnv.vars["PKG_CONFIG_PATH"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
130 | #if os(Windows)
131 | return try configPath.split(separator: ";").map({ try AbsolutePath(validating: String($0)) })
/host/spi-builder-workspace/Sources/PackageLoading/PkgConfig.swift:186:49: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
184 |
185 | // Add pc_sysrootdir variable. This is the path of the sysroot directory for pc files.
186 | variables["pc_sysrootdir"] = ProcessEnv.vars["PKG_CONFIG_SYSROOT_DIR"] ?? AbsolutePath.root.pathString
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
187 |
188 | let fileContents: String = try fileSystem.readFileContents(pcFile)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1549/1622] Compiling PackageCollections PackageCollections+CertificatePolicy.swift
/host/spi-builder-workspace/Sources/PackageLoading/PkgConfig.swift:129:44: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
127 | private static var envSearchPaths: [AbsolutePath] {
128 | get throws {
129 | if let configPath = ProcessEnv.vars["PKG_CONFIG_PATH"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
130 | #if os(Windows)
131 | return try configPath.split(separator: ";").map({ try AbsolutePath(validating: String($0)) })
/host/spi-builder-workspace/Sources/PackageLoading/PkgConfig.swift:186:49: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
184 |
185 | // Add pc_sysrootdir variable. This is the path of the sysroot directory for pc files.
186 | variables["pc_sysrootdir"] = ProcessEnv.vars["PKG_CONFIG_SYSROOT_DIR"] ?? AbsolutePath.root.pathString
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
187 |
188 | let fileContents: String = try fileSystem.readFileContents(pcFile)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1550/1623] Wrapping AST for PackageLoading for debugging
[1552/1659] Compiling PackageRegistry SigningEntityTOFU.swift
[1553/1659] Compiling PackageGraph PackageRequirement.swift
[1554/1659] Compiling PackageGraph BoundVersion.swift
[1555/1659] Compiling PackageGraph BuildTriple.swift
[1556/1662] Emitting module PackageGraph
[1557/1666] Emitting module PackageCollections
[1558/1666] Compiling PackageGraph PackageContainer.swift
[1559/1666] Compiling PackageGraph PackageGraphRoot.swift
[1560/1666] Compiling PackageGraph PackageModel+Extensions.swift
[1562/1666] Compiling PackageRegistry RegistryDownloadsManager.swift
[1563/1666] Compiling PackageRegistry SignatureValidation.swift
[1564/1666] Compiling PackageGraph ContainerProvider.swift
[1565/1666] Compiling PackageGraph DiagnosticReportBuilder.swift
[1566/1666] Compiling PackageGraph Incompatibility.swift
[1567/1666] Compiling PackageGraph PartialSolution.swift
[1568/1666] Compiling PackageGraph DependencyMirrors.swift
[1569/1666] Compiling PackageGraph Diagnostics.swift
[1570/1666] Compiling PackageGraph DependencyResolverDelegate.swift
[1571/1666] Compiling PackageGraph DependencyResolverError.swift
[1572/1666] Compiling PackageGraph PlatformVersionProvider.swift
[1573/1666] Compiling PackageGraph Assignment.swift
[1582/1666] Compiling PackageGraph PinsStore.swift
[1583/1666] Compiling PackageGraph PrebuiltPackageContainer.swift
[1584/1666] Compiling PackageGraph DependencyResolutionNode.swift
[1585/1666] Compiling PackageCollections SQLitePackageCollectionsStorage.swift
[1586/1666] Compiling PackageRegistry RegistryConfiguration.swift
[1587/1666] Compiling PackageGraph GraphLoadingNode.swift
[1588/1666] Compiling PackageGraph ModuleAliasTracker.swift
[1589/1666] Compiling PackageGraph ModulesGraph+Loading.swift
[1590/1666] Compiling PackageGraph ModulesGraph.swift
[1594/1666] Compiling PackageCollections Trie.swift
[1595/1666] Compiling PackageCollections Utility.swift
[1596/1666] Compiling PackageGraph Term.swift
[1597/1666] Compiling PackageGraph ResolvedPackage.swift
[1598/1666] Compiling PackageGraph ResolvedProduct.swift
[1599/1666] Compiling PackageGraph ResolvedTarget.swift
[1600/1666] Compiling PackageGraph Version+Extensions.swift
[1601/1666] Compiling PackageGraph VersionSetSpecifier.swift
/host/spi-builder-workspace/Sources/PackageCollections/Storage/SQLitePackageCollectionsStorage.swift:100:25: warning: capture of 'db' with non-Sendable type 'SQLite' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
98 | DispatchQueue.sharedConcurrent.asyncAfter(deadline: .now() + delay) {
99 | do {
100 | try db.close()
| `- warning: capture of 'db' with non-Sendable type 'SQLite' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
101 | callback(.success(()))
102 | } catch {
/host/spi-builder-workspace/Sources/Basics/SQLite.swift:22:20: note: class 'SQLite' does not conform to the 'Sendable' protocol
20 |
21 | /// A minimal SQLite wrapper.
22 | public final class SQLite {
| `- note: class 'SQLite' does not conform to the 'Sendable' protocol
23 | /// The location of the database.
24 | public let location: Location
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/PackageCollections/Storage/SQLitePackageCollectionsStorage.swift:100:25: warning: capture of 'db' with non-Sendable type 'SQLite' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
98 | DispatchQueue.sharedConcurrent.asyncAfter(deadline: .now() + delay) {
99 | do {
100 | try db.close()
| `- warning: capture of 'db' with non-Sendable type 'SQLite' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
101 | callback(.success(()))
102 | } catch {
/host/spi-builder-workspace/Sources/Basics/SQLite.swift:22:20: note: class 'SQLite' does not conform to the 'Sendable' protocol
20 |
21 | /// A minimal SQLite wrapper.
22 | public final class SQLite {
| `- note: class 'SQLite' does not conform to the 'Sendable' protocol
23 | /// The location of the database.
24 | public let location: Location
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/PackageCollections/Storage/SQLitePackageCollectionsStorage.swift:100:25: warning: capture of 'db' with non-Sendable type 'SQLite' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
98 | DispatchQueue.sharedConcurrent.asyncAfter(deadline: .now() + delay) {
99 | do {
100 | try db.close()
| `- warning: capture of 'db' with non-Sendable type 'SQLite' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
101 | callback(.success(()))
102 | } catch {
/host/spi-builder-workspace/Sources/Basics/SQLite.swift:22:20: note: class 'SQLite' does not conform to the 'Sendable' protocol
20 |
21 | /// A minimal SQLite wrapper.
22 | public final class SQLite {
| `- note: class 'SQLite' does not conform to the 'Sendable' protocol
23 | /// The location of the database.
24 | public let location: Location
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1616/1668] Wrapping AST for PackageCollections for debugging
[1618/1668] Wrapping AST for PackageGraph for debugging
[1620/1686] Compiling SPMBuildCore PrebuildCommandResult.swift
[1621/1686] Compiling SPMBuildCore ResolvedPackage+Extensions.swift
[1622/1688] Compiling SPMBuildCore BuildSystemDelegate.swift
[1623/1688] Compiling SPMBuildCore BuiltTestProduct.swift
[1624/1688] Compiling SPMBuildCore Triple+Extensions.swift
[1625/1688] Compiling SPMBuildCore XCFrameworkMetadata.swift
[1626/1688] Compiling SPMBuildCore BuildParameters.swift
/host/spi-builder-workspace/Sources/SPMBuildCore/BuildSystem/BuildSystem.swift:182:26: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
180 | public static func getEnvBuildPath(workingDir: AbsolutePath) throws -> AbsolutePath? {
181 | // Don't rely on build path from env for SwiftPM's own tests.
182 | guard ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] == nil else { return nil }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
183 | guard let env = ProcessEnv.vars["SWIFTPM_BUILD_DIR"] else { return nil }
184 | return try AbsolutePath(validating: env, relativeTo: workingDir)
/host/spi-builder-workspace/Sources/SPMBuildCore/BuildSystem/BuildSystem.swift:183:36: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
181 | // Don't rely on build path from env for SwiftPM's own tests.
182 | guard ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] == nil else { return nil }
183 | guard let env = ProcessEnv.vars["SWIFTPM_BUILD_DIR"] else { return nil }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
184 | return try AbsolutePath(validating: env, relativeTo: workingDir)
185 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1627/1688] Compiling SPMBuildCore BuildSystem.swift
/host/spi-builder-workspace/Sources/SPMBuildCore/BuildSystem/BuildSystem.swift:182:26: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
180 | public static func getEnvBuildPath(workingDir: AbsolutePath) throws -> AbsolutePath? {
181 | // Don't rely on build path from env for SwiftPM's own tests.
182 | guard ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] == nil else { return nil }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
183 | guard let env = ProcessEnv.vars["SWIFTPM_BUILD_DIR"] else { return nil }
184 | return try AbsolutePath(validating: env, relativeTo: workingDir)
/host/spi-builder-workspace/Sources/SPMBuildCore/BuildSystem/BuildSystem.swift:183:36: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
181 | // Don't rely on build path from env for SwiftPM's own tests.
182 | guard ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] == nil else { return nil }
183 | guard let env = ProcessEnv.vars["SWIFTPM_BUILD_DIR"] else { return nil }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
184 | return try AbsolutePath(validating: env, relativeTo: workingDir)
185 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1628/1688] Compiling SPMBuildCore BuildSystemCommand.swift
/host/spi-builder-workspace/Sources/SPMBuildCore/BuildSystem/BuildSystem.swift:182:26: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
180 | public static func getEnvBuildPath(workingDir: AbsolutePath) throws -> AbsolutePath? {
181 | // Don't rely on build path from env for SwiftPM's own tests.
182 | guard ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] == nil else { return nil }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
183 | guard let env = ProcessEnv.vars["SWIFTPM_BUILD_DIR"] else { return nil }
184 | return try AbsolutePath(validating: env, relativeTo: workingDir)
/host/spi-builder-workspace/Sources/SPMBuildCore/BuildSystem/BuildSystem.swift:183:36: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
181 | // Don't rely on build path from env for SwiftPM's own tests.
182 | guard ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] == nil else { return nil }
183 | guard let env = ProcessEnv.vars["SWIFTPM_BUILD_DIR"] else { return nil }
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
184 | return try AbsolutePath(validating: env, relativeTo: workingDir)
185 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1629/1688] Emitting module SPMBuildCore
[1630/1688] Emitting module PackageRegistry
[1631/1688] Compiling PackageRegistry RegistryClient.swift
[1632/1688] Compiling PackageRegistry ChecksumTOFU.swift
[1633/1689] Wrapping AST for PackageRegistry for debugging
[1635/1691] Emitting module PackageMetadata
[1636/1691] Compiling PackageMetadata PackageMetadata.swift
[1637/1692] Compiling SPMBuildCore PluginContextSerializer.swift
[1638/1692] Compiling SPMBuildCore PluginInvocation.swift
[1639/1692] Wrapping AST for PackageMetadata for debugging
[1641/1692] Compiling SPMBuildCore BuildParameters+Linking.swift
[1642/1692] Compiling SPMBuildCore BuildParameters+Output.swift
[1643/1692] Compiling SPMBuildCore BuildParameters+Testing.swift
[1644/1692] Compiling SPMBuildCore BinaryTarget+Extensions.swift
[1645/1692] Compiling SPMBuildCore BuildParameters+Debugging.swift
[1646/1692] Compiling SPMBuildCore BuildParameters+Driver.swift
[1647/1692] Compiling SPMBuildCore PluginMessages.swift
[1648/1692] Compiling SPMBuildCore PluginScriptRunner.swift
[1649/1696] Wrapping AST for SPMBuildCore for debugging
[1651/1743] Compiling XCBuildSupport XcodeBuildSystem.swift
/host/spi-builder-workspace/Sources/XCBuildSupport/XcodeBuildSystem.swift:96:41: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
94 | self.observabilityScope = observabilityScope.makeChildScope(description: "Xcode Build System")
95 |
96 | if let xcbuildTool = ProcessEnv.vars["XCBUILD_TOOL"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
97 | xcbuildPath = try AbsolutePath(validating: xcbuildTool)
98 | } else {
/host/spi-builder-workspace/Sources/XCBuildSupport/XcodeBuildSystem.swift:161:47: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
159 |
160 | // We need to sanitize the environment we are passing to XCBuild because we could otherwise interfere with its linked dependencies e.g. when we have a custom swift-driver dynamic library in the path.
161 | var sanitizedEnvironment = ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
162 | sanitizedEnvironment["DYLD_LIBRARY_PATH"] = nil
163 |
/host/spi-builder-workspace/Sources/XCBuildSupport/XcodeBuildSystem.swift:164:32: warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' [#DeprecatedDeclaration]
162 | sanitizedEnvironment["DYLD_LIBRARY_PATH"] = nil
163 |
164 | let process = TSCBasic.Process(arguments: arguments, environment: sanitizedEnvironment, outputRedirection: redirection)
| |- warning: 'init(arguments:environment:outputRedirection:startNewProcessGroup:loggingHandler:)' is deprecated: replaced by 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'init(arguments:environmentBlock:outputRedirection:startNewProcessGroup:loggingHandler:)' instead
165 | try process.launch()
166 | let result = try process.waitUntilExit()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1652/1743] Compiling XCBuildSupport XCBuildOutputParser.swift
[1653/1743] Emitting module Workspace
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:42: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:93: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:355:26: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
353 |
354 | // Now invoke the compiler asynchronously.
355 | TSCBasic.Process.popen(arguments: commandLine, environment: environment, queue: callbackQueue) {
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
356 | // We are now on our caller's requested callback queue, so we just call the completion handler directly.
357 | dispatchPrecondition(condition: .onQueue(callbackQueue))
/host/spi-builder-workspace/Sources/Workspace/Diagnostics.swift:251:1: warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
249 |
250 | #if swift(<6.0)
251 | extension FileSystemError: CustomStringConvertible {}
| |- warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
252 | #else
253 | extension FileSystemError: @retroactive CustomStringConvertible {}
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1654/1746] Emitting module Build
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:17:8: warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
15 |
16 | @_spi(SwiftPMInternal)
17 | import Build
| `- warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
18 |
19 | import LLBuildManifest
[1655/1746] Compiling Build ClangTargetBuildDescription.swift
[1656/1746] Compiling Build PluginDescription.swift
[1657/1746] Compiling Build ProductBuildDescription.swift
[1658/1748] Compiling Build TargetBuildDescription.swift
[1659/1748] Compiling Build LLBuildManifestBuilder+Clang.swift
[1660/1748] Compiling Build BuildPlan+Clang.swift
[1661/1748] Compiling Build BuildPlan+Product.swift
[1664/1748] Compiling Workspace RegistryPackageContainer.swift
[1665/1748] Compiling Workspace SourceControlPackageContainer.swift
[1666/1748] Compiling Build BuildPlan.swift
/host/spi-builder-workspace/Sources/Build/BuildPlan/BuildPlan.swift:98:38: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
96 | // FIXME: We use this hack to let swiftpm's functional test use shared
97 | // cache so it doesn't become painfully slow.
98 | if let path = ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
99 | return try AbsolutePath(validating: path)
100 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1667/1748] Compiling Workspace Workspace+Pinning.swift
/host/spi-builder-workspace/Sources/Build/BuildPlan/BuildPlan.swift:98:38: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
96 | // FIXME: We use this hack to let swiftpm's functional test use shared
97 | // cache so it doesn't become painfully slow.
98 | if let path = ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
99 | return try AbsolutePath(validating: path)
100 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1668/1748] Compiling Build SwiftTargetBuildDescription.swift
[1672/1748] Compiling Build SwiftCompilerOutputParser.swift
[1673/1748] Compiling Build TestObservation.swift
[1674/1748] Compiling Workspace Workspace+Editing.swift
[1675/1748] Compiling Workspace Workspace+Manifests.swift
[1676/1748] Compiling Workspace Workspace+PackageContainer.swift
[1677/1748] Compiling XCBuildSupport XCBuildMessage.swift
[1678/1748] Compiling XCBuildSupport XCBuildDelegate.swift
[1681/1748] Compiling XCBuildSupport PIFBuilder.swift
[1682/1748] Compiling Build LLBuildManifestBuilder+Resources.swift
/host/spi-builder-workspace/Sources/Workspace/Workspace+Configuration.swift:92:48: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
90 | get throws {
91 | // backwards compatibility
92 | if let customPath = ProcessEnv.vars["SWIFTPM_MIRROR_CONFIG"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
93 | return try AbsolutePath(validating: customPath)
94 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1683/1748] Compiling Build LLBuildManifestBuilder+Swift.swift
/host/spi-builder-workspace/Sources/Workspace/Workspace+Configuration.swift:92:48: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
90 | get throws {
91 | // backwards compatibility
92 | if let customPath = ProcessEnv.vars["SWIFTPM_MIRROR_CONFIG"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
93 | return try AbsolutePath(validating: customPath)
94 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Workspace/Workspace+Configuration.swift:92:48: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
90 | get throws {
91 | // backwards compatibility
92 | if let customPath = ProcessEnv.vars["SWIFTPM_MIRROR_CONFIG"] {
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
93 | return try AbsolutePath(validating: customPath)
94 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1687/1748] Compiling Build LLBuildManifestBuilder+Product.swift
[1688/1748] Compiling Build LLBuildManifestBuilder.swift
[1689/1748] Compiling Build BuildOperation.swift
[1690/1748] Compiling Workspace Workspace+BinaryArtifacts.swift
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:42: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:93: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:355:26: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
353 |
354 | // Now invoke the compiler asynchronously.
355 | TSCBasic.Process.popen(arguments: commandLine, environment: environment, queue: callbackQueue) {
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
356 | // We are now on our caller's requested callback queue, so we just call the completion handler directly.
357 | dispatchPrecondition(condition: .onQueue(callbackQueue))
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:574:38: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 | throw DefaultPluginScriptRunnerError.invocationEndedBySignal(
573 | signal: process.terminationStatus,
574 | command: command,
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | output: String(decoding: stderrData, as: UTF8.self))
576 | }
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:575:54: warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
573 | signal: process.terminationStatus,
574 | command: command,
575 | output: String(decoding: stderrData, as: UTF8.self))
| `- warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
576 | }
577 | // Otherwise return the termination satatus.
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:589:108: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
587 | catch {
588 | callbackQueue.async {
589 | completion(.failure(DefaultPluginScriptRunnerError.invocationFailed(error: error, command: command)))
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
590 | }
591 | }
/host/spi-builder-workspace/Sources/Workspace/Diagnostics.swift:251:1: warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
249 |
250 | #if swift(<6.0)
251 | extension FileSystemError: CustomStringConvertible {}
| |- warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
252 | #else
253 | extension FileSystemError: @retroactive CustomStringConvertible {}
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:42: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:93: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:355:26: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
353 |
354 | // Now invoke the compiler asynchronously.
355 | TSCBasic.Process.popen(arguments: commandLine, environment: environment, queue: callbackQueue) {
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
356 | // We are now on our caller's requested callback queue, so we just call the completion handler directly.
357 | dispatchPrecondition(condition: .onQueue(callbackQueue))
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:574:38: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 | throw DefaultPluginScriptRunnerError.invocationEndedBySignal(
573 | signal: process.terminationStatus,
574 | command: command,
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | output: String(decoding: stderrData, as: UTF8.self))
576 | }
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:575:54: warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
573 | signal: process.terminationStatus,
574 | command: command,
575 | output: String(decoding: stderrData, as: UTF8.self))
| `- warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
576 | }
577 | // Otherwise return the termination satatus.
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:589:108: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
587 | catch {
588 | callbackQueue.async {
589 | completion(.failure(DefaultPluginScriptRunnerError.invocationFailed(error: error, command: command)))
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
590 | }
591 | }
/host/spi-builder-workspace/Sources/Workspace/Diagnostics.swift:251:1: warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
249 |
250 | #if swift(<6.0)
251 | extension FileSystemError: CustomStringConvertible {}
| |- warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
252 | #else
253 | extension FileSystemError: @retroactive CustomStringConvertible {}
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:42: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:93: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:355:26: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
353 |
354 | // Now invoke the compiler asynchronously.
355 | TSCBasic.Process.popen(arguments: commandLine, environment: environment, queue: callbackQueue) {
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
356 | // We are now on our caller's requested callback queue, so we just call the completion handler directly.
357 | dispatchPrecondition(condition: .onQueue(callbackQueue))
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:574:38: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 | throw DefaultPluginScriptRunnerError.invocationEndedBySignal(
573 | signal: process.terminationStatus,
574 | command: command,
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | output: String(decoding: stderrData, as: UTF8.self))
576 | }
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:575:54: warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
573 | signal: process.terminationStatus,
574 | command: command,
575 | output: String(decoding: stderrData, as: UTF8.self))
| `- warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
576 | }
577 | // Otherwise return the termination satatus.
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:589:108: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
587 | catch {
588 | callbackQueue.async {
589 | completion(.failure(DefaultPluginScriptRunnerError.invocationFailed(error: error, command: command)))
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
590 | }
591 | }
/host/spi-builder-workspace/Sources/Workspace/Diagnostics.swift:251:1: warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
249 |
250 | #if swift(<6.0)
251 | extension FileSystemError: CustomStringConvertible {}
| |- warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
252 | #else
253 | extension FileSystemError: @retroactive CustomStringConvertible {}
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:42: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:212:93: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
210 |
211 | // Honor any module cache override that's set in the environment.
212 | let moduleCachePath = ProcessEnv.vars["SWIFTPM_MODULECACHE_OVERRIDE"] ?? ProcessEnv.vars["SWIFTPM_TESTS_MODULECACHE"]
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
213 | if let moduleCachePath {
214 | commandLine += ["-module-cache-path", moduleCachePath]
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:355:26: warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
353 |
354 | // Now invoke the compiler asynchronously.
355 | TSCBasic.Process.popen(arguments: commandLine, environment: environment, queue: callbackQueue) {
| |- warning: 'popen(arguments:environment:loggingHandler:queue:completion:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:queue:completion:)' instead
356 | // We are now on our caller's requested callback queue, so we just call the completion handler directly.
357 | dispatchPrecondition(condition: .onQueue(callbackQueue))
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:574:38: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 | throw DefaultPluginScriptRunnerError.invocationEndedBySignal(
573 | signal: process.terminationStatus,
574 | command: command,
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | output: String(decoding: stderrData, as: UTF8.self))
576 | }
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:575:54: warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
573 | signal: process.terminationStatus,
574 | command: command,
575 | output: String(decoding: stderrData, as: UTF8.self))
| `- warning: reference to captured var 'stderrData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
576 | }
577 | // Otherwise return the termination satatus.
/host/spi-builder-workspace/Sources/Workspace/DefaultPluginScriptRunner.swift:589:108: warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
587 | catch {
588 | callbackQueue.async {
589 | completion(.failure(DefaultPluginScriptRunnerError.invocationFailed(error: error, command: command)))
| `- warning: reference to captured var 'command' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
590 | }
591 | }
/host/spi-builder-workspace/Sources/Workspace/Diagnostics.swift:251:1: warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
249 |
250 | #if swift(<6.0)
251 | extension FileSystemError: CustomStringConvertible {}
| |- warning: extension declares a conformance of imported type 'FileSystemError' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
252 | #else
253 | extension FileSystemError: @retroactive CustomStringConvertible {}
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1695/1748] Emitting module XCBuildSupport
[1696/1748] Compiling XCBuildSupport PIF.swift
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:78:29: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
76 | resolver: resolver,
77 | fileSystem: target.fileSystem,
78 | env: ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
79 | )
80 | var driver = try Driver(
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:82:65: warning: 'makeDiagnosticsHandler()' is deprecated: temporary for transition TSCBasic.Diagnostic -> SwiftDriver.Diagnostic [#DeprecatedDeclaration]
80 | var driver = try Driver(
81 | args: commandLine,
82 | diagnosticsOutput: .handler(self.observabilityScope.makeDiagnosticsHandler()),
| `- warning: 'makeDiagnosticsHandler()' is deprecated: temporary for transition TSCBasic.Diagnostic -> SwiftDriver.Diagnostic [#DeprecatedDeclaration]
83 | fileSystem: self.fileSystem,
84 | executor: executor
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:294:29: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
292 | resolver: resolver,
293 | fileSystem: self.fileSystem,
294 | env: ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
295 | )
296 | var driver = try Driver(
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:78:29: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
76 | resolver: resolver,
77 | fileSystem: target.fileSystem,
78 | env: ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
79 | )
80 | var driver = try Driver(
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:82:65: warning: 'makeDiagnosticsHandler()' is deprecated: temporary for transition TSCBasic.Diagnostic -> SwiftDriver.Diagnostic [#DeprecatedDeclaration]
80 | var driver = try Driver(
81 | args: commandLine,
82 | diagnosticsOutput: .handler(self.observabilityScope.makeDiagnosticsHandler()),
| `- warning: 'makeDiagnosticsHandler()' is deprecated: temporary for transition TSCBasic.Diagnostic -> SwiftDriver.Diagnostic [#DeprecatedDeclaration]
83 | fileSystem: self.fileSystem,
84 | executor: executor
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:294:29: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
292 | resolver: resolver,
293 | fileSystem: self.fileSystem,
294 | env: ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
295 | )
296 | var driver = try Driver(
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:78:29: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
76 | resolver: resolver,
77 | fileSystem: target.fileSystem,
78 | env: ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
79 | )
80 | var driver = try Driver(
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:82:65: warning: 'makeDiagnosticsHandler()' is deprecated: temporary for transition TSCBasic.Diagnostic -> SwiftDriver.Diagnostic [#DeprecatedDeclaration]
80 | var driver = try Driver(
81 | args: commandLine,
82 | diagnosticsOutput: .handler(self.observabilityScope.makeDiagnosticsHandler()),
| `- warning: 'makeDiagnosticsHandler()' is deprecated: temporary for transition TSCBasic.Diagnostic -> SwiftDriver.Diagnostic [#DeprecatedDeclaration]
83 | fileSystem: self.fileSystem,
84 | executor: executor
/host/spi-builder-workspace/Sources/Build/BuildManifest/LLBuildManifestBuilder+Swift.swift:294:29: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
292 | resolver: resolver,
293 | fileSystem: self.fileSystem,
294 | env: ProcessEnv.vars
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
295 | )
296 | var driver = try Driver(
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:17:8: warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
15 |
16 | @_spi(SwiftPMInternal)
17 | import Build
| `- warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
18 |
19 | import LLBuildManifest
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:235:71: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
233 | let executor = SPMSwiftDriverExecutor(resolver: resolver,
234 | fileSystem: localFileSystem,
235 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
236 |
237 | let consumeDiagnostics: DiagnosticsEngine = DiagnosticsEngine(handlers: [])
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:770:49: warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
768 | commandLine = try Sandbox.apply(command: commandLine, fileSystem: self.fileSystem, strictness: .writableTemporaryDirectory, writableDirectories: [pluginResult.pluginOutputDirectory])
769 | }
770 | let processResult = try Process.popen(arguments: commandLine, environment: command.configuration.environment)
| |- warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:)' instead
771 | let output = try processResult.utf8Output() + processResult.utf8stderrOutput()
772 | if processResult.exitStatus != .terminated(code: 0) {
/host/spi-builder-workspace/Sources/Build/BuildOperationBuildSystemDelegateHandler.swift:606:48: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
604 | hash += try! encoder.encode(self.context.productsBuildParameters)
605 | hash += try! encoder.encode(self.context.toolsBuildParameters)
606 | hash += try! encoder.encode(ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
607 | return [UInt8](hash)
608 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:17:8: warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
15 |
16 | @_spi(SwiftPMInternal)
17 | import Build
| `- warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
18 |
19 | import LLBuildManifest
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:235:71: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
233 | let executor = SPMSwiftDriverExecutor(resolver: resolver,
234 | fileSystem: localFileSystem,
235 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
236 |
237 | let consumeDiagnostics: DiagnosticsEngine = DiagnosticsEngine(handlers: [])
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:770:49: warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
768 | commandLine = try Sandbox.apply(command: commandLine, fileSystem: self.fileSystem, strictness: .writableTemporaryDirectory, writableDirectories: [pluginResult.pluginOutputDirectory])
769 | }
770 | let processResult = try Process.popen(arguments: commandLine, environment: command.configuration.environment)
| |- warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:)' instead
771 | let output = try processResult.utf8Output() + processResult.utf8stderrOutput()
772 | if processResult.exitStatus != .terminated(code: 0) {
/host/spi-builder-workspace/Sources/Build/BuildOperationBuildSystemDelegateHandler.swift:606:48: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
604 | hash += try! encoder.encode(self.context.productsBuildParameters)
605 | hash += try! encoder.encode(self.context.toolsBuildParameters)
606 | hash += try! encoder.encode(ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
607 | return [UInt8](hash)
608 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:17:8: warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
15 |
16 | @_spi(SwiftPMInternal)
17 | import Build
| `- warning: file 'BuildOperation.swift' is part of module 'Build'; ignoring import
18 |
19 | import LLBuildManifest
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:235:71: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
233 | let executor = SPMSwiftDriverExecutor(resolver: resolver,
234 | fileSystem: localFileSystem,
235 | env: ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
236 |
237 | let consumeDiagnostics: DiagnosticsEngine = DiagnosticsEngine(handlers: [])
/host/spi-builder-workspace/Sources/Build/BuildOperation.swift:770:49: warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
768 | commandLine = try Sandbox.apply(command: commandLine, fileSystem: self.fileSystem, strictness: .writableTemporaryDirectory, writableDirectories: [pluginResult.pluginOutputDirectory])
769 | }
770 | let processResult = try Process.popen(arguments: commandLine, environment: command.configuration.environment)
| |- warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:)' instead
771 | let output = try processResult.utf8Output() + processResult.utf8stderrOutput()
772 | if processResult.exitStatus != .terminated(code: 0) {
/host/spi-builder-workspace/Sources/Build/BuildOperationBuildSystemDelegateHandler.swift:606:48: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
604 | hash += try! encoder.encode(self.context.productsBuildParameters)
605 | hash += try! encoder.encode(self.context.toolsBuildParameters)
606 | hash += try! encoder.encode(ProcessEnv.vars)
| `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]
607 | return [UInt8](hash)
608 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1704/1750] Wrapping AST for XCBuildSupport for debugging
[1705/1750] Wrapping AST for Build for debugging
[1707/1755] Emitting module SourceKitLSPAPI
/host/spi-builder-workspace/Sources/SourceKitLSPAPI/PluginTargetBuildDescription.swift:19:22: warning: module 'PackageModel' is imported as 'internal' from the same file; this 'private' access level will be ignored
16 |
17 | private import class PackageLoading.ManifestLoader
18 | internal import struct PackageModel.ToolsVersion
| `- note: imported 'internal' here
19 | private import class PackageModel.UserToolchain
| `- warning: module 'PackageModel' is imported as 'internal' from the same file; this 'private' access level will be ignored
20 |
21 | struct PluginTargetBuildDescription: BuildTarget {
[1708/1755] Compiling SourceKitLSPAPI PluginTargetBuildDescription.swift
/host/spi-builder-workspace/Sources/SourceKitLSPAPI/PluginTargetBuildDescription.swift:19:22: warning: module 'PackageModel' is imported as 'internal' from the same file; this 'private' access level will be ignored
16 |
17 | private import class PackageLoading.ManifestLoader
18 | internal import struct PackageModel.ToolsVersion
| `- note: imported 'internal' here
19 | private import class PackageModel.UserToolchain
| `- warning: module 'PackageModel' is imported as 'internal' from the same file; this 'private' access level will be ignored
20 |
21 | struct PluginTargetBuildDescription: BuildTarget {
[1709/1755] Compiling SourceKitLSPAPI BuildDescription.swift
[1711/1756] Emitting module swift_bootstrap
[1712/1756] Compiling swift_bootstrap main.swift
[1712/1756] Wrapping AST for SourceKitLSPAPI for debugging
[1714/1757] Wrapping AST for swift-bootstrap for debugging
[1716/1757] Compiling Workspace Workspace+SourceControl.swift
[1717/1757] Compiling Workspace Workspace+State.swift
[1718/1757] Compiling Workspace Workspace.swift
[1719/1758] Write Objects.LinkFileList
[1720/1766] Wrapping AST for Workspace for debugging
[1721/1766] Write Objects.LinkFileList
[1724/1792] Emitting module package_info
[1725/1792] Compiling package_info example.swift
[1726/1792] Emitting module CoreCommands
/host/spi-builder-workspace/Sources/CoreCommands/Options.swift:618:1: warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TSCUtility' introduce this conformance in the future
616 | extension Sanitizer: ExpressibleByArgument {}
617 | extension BuildSystemProvider.Kind: ExpressibleByArgument {}
618 | extension Version: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TSCUtility' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
619 | extension PackageIdentity: ExpressibleByArgument {}
620 | extension URL: ExpressibleByArgument {}
/host/spi-builder-workspace/Sources/CoreCommands/Options.swift:620:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
618 | extension Version: ExpressibleByArgument {}
619 | extension PackageIdentity: ExpressibleByArgument {}
620 | extension URL: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
621 | #else
622 | extension BuildConfiguration: @retroactive ExpressibleByArgument {}
[1728/1793] Compiling SPMTestSupport ResolvedTarget+Mock.swift
/host/spi-builder-workspace/Sources/SPMTestSupport/SwiftPMProduct.swift:133:28: warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
131 | completeArgs += args
132 |
133 | return try Process.popen(arguments: completeArgs, environment: environment)
| |- warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:)' instead
134 | }
135 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1729/1793] Compiling SPMTestSupport Resolver.swift
/host/spi-builder-workspace/Sources/SPMTestSupport/SwiftPMProduct.swift:133:28: warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
131 | completeArgs += args
132 |
133 | return try Process.popen(arguments: completeArgs, environment: environment)
| |- warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:)' instead
134 | }
135 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1730/1793] Compiling SPMTestSupport SwiftPMProduct.swift
/host/spi-builder-workspace/Sources/SPMTestSupport/SwiftPMProduct.swift:133:28: warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
131 | completeArgs += args
132 |
133 | return try Process.popen(arguments: completeArgs, environment: environment)
| |- warning: 'popen(arguments:environment:loggingHandler:)' is deprecated: renamed to 'popen(arguments:environmentBlock:loggingHandler:)' [#DeprecatedDeclaration]
| `- note: use 'popen(arguments:environmentBlock:loggingHandler:)' instead
134 | }
135 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1730/1796] Wrapping AST for package-info for debugging
[1731/1796] Write Objects.LinkFileList
[1733/1796] Compiling CoreCommands SwiftCommandObservabilityHandler.swift
[1734/1796] Compiling CoreCommands SwiftCommandState.swift
/host/spi-builder-workspace/Sources/CoreCommands/SwiftCommandState.swift:366:17: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
364 |
365 | // set global process logging handler
366 | Process.loggingHandler = { self.observabilityScope.emit(debug: $0) }
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]
367 | }
368 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1735/1796] Emitting module SPMTestSupport
/host/spi-builder-workspace/Sources/SPMTestSupport/misc.swift:495:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
493 | extension RelativePath: ExpressibleByStringLiteral {}
494 | extension RelativePath: ExpressibleByStringInterpolation {}
495 | extension URL: ExpressibleByStringLiteral {}
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
496 | extension URL: ExpressibleByStringInterpolation {}
497 | extension PackageIdentity: ExpressibleByStringLiteral {}
/host/spi-builder-workspace/Sources/SPMTestSupport/misc.swift:496:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
494 | extension RelativePath: ExpressibleByStringInterpolation {}
495 | extension URL: ExpressibleByStringLiteral {}
496 | extension URL: ExpressibleByStringInterpolation {}
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
497 | extension PackageIdentity: ExpressibleByStringLiteral {}
498 | extension PackageIdentity: ExpressibleByStringInterpolation {}
[1736/1796] Compiling SPMTestSupport MockBuildTestHelper.swift
[1737/1796] Compiling SPMTestSupport MockDependency.swift
[1738/1796] Compiling SPMTestSupport MockDependencyGraph.swift
[1739/1796] Compiling SPMTestSupport MockHTTPClient.swift
[1740/1796] Compiling SPMTestSupport MockPackageFingerprintStorage.swift
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:42:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
40 |
41 | let observability = ObservabilitySystem.makeForTesting()
42 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
43 | fileSystem: fs,
44 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:137:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
135 |
136 | let observability = ObservabilitySystem.makeForTesting()
137 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
138 | fileSystem: fs,
139 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:167:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
165 |
166 | let observability = ObservabilitySystem.makeForTesting()
167 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
168 | fileSystem: fs,
169 | manifests: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1741/1796] Compiling SPMTestSupport MockPackageGraphs.swift
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:42:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
40 |
41 | let observability = ObservabilitySystem.makeForTesting()
42 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
43 | fileSystem: fs,
44 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:137:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
135 |
136 | let observability = ObservabilitySystem.makeForTesting()
137 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
138 | fileSystem: fs,
139 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:167:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
165 |
166 | let observability = ObservabilitySystem.makeForTesting()
167 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
168 | fileSystem: fs,
169 | manifests: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1742/1796] Compiling SPMTestSupport MockPackageSigningEntityStorage.swift
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:42:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
40 |
41 | let observability = ObservabilitySystem.makeForTesting()
42 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
43 | fileSystem: fs,
44 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:137:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
135 |
136 | let observability = ObservabilitySystem.makeForTesting()
137 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
138 | fileSystem: fs,
139 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:167:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
165 |
166 | let observability = ObservabilitySystem.makeForTesting()
167 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
168 | fileSystem: fs,
169 | manifests: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1743/1796] Compiling SPMTestSupport MockProduct.swift
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:42:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
40 |
41 | let observability = ObservabilitySystem.makeForTesting()
42 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
43 | fileSystem: fs,
44 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:137:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
135 |
136 | let observability = ObservabilitySystem.makeForTesting()
137 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
138 | fileSystem: fs,
139 | manifests: [
/host/spi-builder-workspace/Sources/SPMTestSupport/MockPackageGraphs.swift:167:21: warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
165 |
166 | let observability = ObservabilitySystem.makeForTesting()
167 | let graph = try loadPackageGraph(
| |- warning: 'loadPackageGraph(identityResolver:fileSystem:manifests:binaryArtifacts:explicitProduct:shouldCreateMultipleTestProducts:createREPLProduct:useXCBuildFileRules:customXCTestMinimumDeploymentTargets:observabilityScope:)' is deprecated: Renamed for consistency: the type of this functions return value is named `ModulesGraph`. [#DeprecatedDeclaration]
| `- note: use 'loadModulesGraph' instead
168 | fileSystem: fs,
169 | manifests: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1744/1796] Compiling SPMTestSupport GitRepositoryExtensions.swift
[1745/1796] Compiling SPMTestSupport InMemoryGitRepository.swift
[1746/1796] Compiling SPMTestSupport ManifestExtensions.swift
[1747/1796] Compiling SPMTestSupport MockArchiver.swift
[1748/1796] Compiling SPMTestSupport PIFTester.swift
[1749/1796] Compiling SPMTestSupport PackageDependencyDescriptionExtensions.swift
[1750/1796] Compiling SPMTestSupport PackageGraphTester.swift
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/asn1/a_time.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_ASN1_TIME_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/asn1/tasn_typ.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_ASN1_OCTET_STRING_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/curve25519/curve25519.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_k25519Precomp' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/evp/p_dsa_asn1.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_dsa_asn1_meth' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/evp/p_ec_asn1.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_ec_asn1_meth' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/evp/p_ed25519_asn1.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_ed25519_asn1_meth' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/evp/p_rsa_asn1.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_rsa_asn1_meth' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/evp/p_x25519_asn1.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_x25519_asn1_meth' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/fipsmodule/ec/ec_montgomery.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_ec_GFp_mont_add' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/fipsmodule/md4/md4.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_md4_block_data_order' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/fipsmodule/rsa/rsa_impl.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_kBoringSSLRSASqrtTwo' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/mem.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_OPENSSL_malloc' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/pem/pem_lib.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_PEM_def_callback' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/pkcs8/pkcs8_x509.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_PKCS8_PRIV_KEY_INFO_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/trust_token/trust_token.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_TRUST_TOKEN_PRETOKEN_free' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/rsa_pss.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_RSA_PSS_PARAMS_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_algor.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_ALGOR_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_attrib.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_ATTRIBUTE_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_crl.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_REVOKED_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_exten.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_EXTENSION_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_name.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_NAME_ENTRY_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_pubkey.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_PUBKEY_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_req.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_REQ_INFO_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_sig.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_SIG_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_spki.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_NETSCAPE_SPKAC_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_val.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_VAL_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_x509.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_CINF_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509/x_x509a.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509_CERT_AUX_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_akeya.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_AUTHORITY_KEYID_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_bcons.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_BASIC_CONSTRAINTS_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_cpols.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_POLICYINFO_free' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_crld.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_DIST_POINT_free' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_extku.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_EXTENDED_KEY_USAGE_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_genn.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_OTHERNAME_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_info.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_ACCESS_DESCRIPTION_free' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_ncons.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_GENERAL_SUBTREE_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_pcons.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_POLICY_CONSTRAINTS_it' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_pmaps.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_POLICY_MAPPING_free' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CCryptoBoringSSL.build/crypto/x509v3/v3_utl.c.o: requires dynamic R_X86_64_PC32 reloc against 'CCryptoBoringSSL_X509V3_conf_free' which may overflow at runtime; recompile with -fPIC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[1750/1796] Linking libSwiftPMDataModel.so
[1751/1796] Compiling CoreCommands BuildSystemSupport.swift
/host/spi-builder-workspace/Sources/CoreCommands/Options.swift:618:1: warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TSCUtility' introduce this conformance in the future
616 | extension Sanitizer: ExpressibleByArgument {}
617 | extension BuildSystemProvider.Kind: ExpressibleByArgument {}
618 | extension Version: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TSCUtility' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
619 | extension PackageIdentity: ExpressibleByArgument {}
620 | extension URL: ExpressibleByArgument {}
/host/spi-builder-workspace/Sources/SPMTestSupport/misc.swift:495:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
493 | extension RelativePath: ExpressibleByStringLiteral {}
494 | extension RelativePath: ExpressibleByStringInterpolation {}
495 | extension URL: ExpressibleByStringLiteral {}
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
496 | extension URL: ExpressibleByStringInterpolation {}
497 | extension PackageIdentity: ExpressibleByStringLiteral {}
[1751/1796] Linking swift-bootstrap
[1751/1796] Linking package-info
[1751/1796] Linking libSwiftPM.so
BUILD FAILURE 6.3 linux