Build Information
Failed to build swift-java, reference 0.5.1 (e04c0e), with Swift 6.1 for Wasm on 28 Jun 2026 22:12:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-java.git
Reference: 0.5.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/stackotter/swift-java
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at e04c0ed Update to versioned swift-java-jni-core dependency
Cloned https://github.com/stackotter/swift-java.git
Revision (git rev-parse @):
e04c0ed6af98936ca6300e94be9a19869df418a2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/swift-java.git at 0.5.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/stackotter/swift-java.git
https://github.com/stackotter/swift-java.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/ordo-one/package-benchmark
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-system
[1/7598] Fetching swift-log
[5700/15130] Fetching swift-log, package-benchmark
[9332/21071] Fetching swift-log, package-benchmark, swift-system
[9333/39020] Fetching swift-log, package-benchmark, swift-system, swift-argument-parser
[19625/64259] Fetching swift-log, package-benchmark, swift-system, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-system from cache (0.58s)
Fetched https://github.com/apple/swift-log from cache (0.58s)
[16838/50720] Fetching package-benchmark, swift-argument-parser, swift-collections
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-java-jni-core
[30026/54750] Fetching package-benchmark, swift-argument-parser, swift-collections, swift-subprocess
Fetched https://github.com/ordo-one/package-benchmark from cache (0.79s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.80s)
[19174/29269] Fetching swift-collections, swift-subprocess
[27504/29872] Fetching swift-collections, swift-subprocess, swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.42s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.13s)
Fetched https://github.com/apple/swift-collections from cache (1.14s)
[1/75750] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.56s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (3.36s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (0.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.22s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (1.00s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.32s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.2 (0.25s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.14.0 (0.22s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.34.1 (0.95s)
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
[1/35] Fetching package-jemalloc
[35/658] Fetching package-jemalloc, hdrhistogram-swift
[141/2526] Fetching package-jemalloc, hdrhistogram-swift, swift-atomics
[160/2729] Fetching package-jemalloc, hdrhistogram-swift, swift-atomics, texttable
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.42s)
[947/2106] Fetching package-jemalloc, swift-atomics, texttable
Fetched https://github.com/ordo-one/TextTable.git from cache (0.47s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.47s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (0.72s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.2.0 (0.24s)
Fetching https://github.com/apple/swift-numerics
[1/6429] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.51s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.76s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.22s)
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 0.5.1
Creating working copy for https://github.com/ordo-one/package-benchmark
Working copy of https://github.com/ordo-one/package-benchmark resolved at 1.34.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/ordo-one/package-jemalloc.git
Working copy of https://github.com/ordo-one/package-jemalloc.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.14.0
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.7.2
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
warning: couldn't find pc file for jemalloc
warning: couldn't find pc file for jemalloc
[1/1] Compiling plugin JExtractSwiftPlugin
[2/2] Compiling plugin SwiftJavaPlugin
[3/3] Compiling plugin JavaCompilerPlugin
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:27: warning: 'directory' is deprecated: renamed to 'directoryURL'
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:37: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:13:20: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
13 | guard path.lastComponent == "Benchmarks" else { return [] }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:16:39: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:17:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
19 | let outputFiles: [Path] = [swiftFile]
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:57: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:62: warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| `- warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:91: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:23:35: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
21 | let commandArgs: [String] = [
22 | "--target", target.name,
23 | "--output", swiftFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:26:33: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
26 | let command: Command = .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:28:30: warning: 'path' is deprecated: renamed to 'url'
26 | let command: Command = .buildCommand(
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
29 | arguments: commandArgs,
30 | inputFiles: inputFiles,
[4/4] Compiling plugin BenchmarkPlugin
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:31: warning: 'directory' is deprecated: renamed to 'directoryURL'
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:41: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:37:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
37 | if path.lastComponent == "Benchmarks" {
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
38 | for specifiedTarget in specifiedTargets {
39 | let regex = try Regex(specifiedTarget)
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:211:56: warning: 'directory' is deprecated: renamed to 'directoryURL'
209 | benchmarkToolName,
210 | "--command", commandToPerform.rawValue,
211 | "--baseline-storage-path", context.package.directory.string,
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
212 | "--format", outputFormat.rawValue,
213 | "--grouping", grouping,
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:211:66: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
209 | benchmarkToolName,
210 | "--command", commandToPerform.rawValue,
211 | "--baseline-storage-path", context.package.directory.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
212 | "--format", outputFormat.rawValue,
213 | "--grouping", grouping,
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:452:42: warning: 'path' is deprecated: renamed to 'url'
450 |
451 | let tool = buildResult.builtArtifacts.first(where: {
452 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
453 | })
454 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:452:47: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
450 |
451 | let tool = buildResult.builtArtifacts.first(where: {
452 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
453 | })
454 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:459:30: warning: 'path' is deprecated: renamed to 'url'
457 | }
458 |
459 | benchmarkTool = tool.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
460 | #if os(Linux) && compiler(>=6.3)
461 | let swiftRuntimeInterposerLib = tool.path.removingLastComponent()
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:469:38: warning: 'directory' is deprecated: renamed to 'directoryURL'
467 | .filter { $0.kind == .executable }
468 | .filter { benchmark in
469 | let path = benchmark.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
470 | return path.lastComponent == "Benchmarks" ? true : false
471 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:469:48: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
467 | .filter { $0.kind == .executable }
468 | .filter { benchmark in
469 | let path = benchmark.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
470 | return path.lastComponent == "Benchmarks" ? true : false
471 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:470:29: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
468 | .filter { benchmark in
469 | let path = benchmark.directory.removingLastComponent()
470 | return path.lastComponent == "Benchmarks" ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
471 | }
472 | .filter { benchmark in
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:519:77: warning: 'path' is deprecated: renamed to 'url'
517 | let benchmarks = buildResult.builtArtifacts
518 | .filter { benchmark in
519 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
520 | }
521 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:519:82: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
517 | let benchmarks = buildResult.builtArtifacts
518 | .filter { benchmark in
519 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
520 | }
521 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:527:88: warning: 'path' is deprecated: renamed to 'url'
525 |
526 | benchmarks.forEach { benchmark in
527 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
528 | }
529 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:527:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
525 |
526 | benchmarks.forEach { benchmark in
527 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
528 | }
529 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:537:45: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
535 | if debug > 0 {
536 | print("To debug, start \(benchmarkToolName) in LLDB using:")
537 | print("lldb \(benchmarkTool.string)")
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
538 | print("")
539 | print("Then launch \(benchmarkToolName) with:")
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:570:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
568 | #else
569 | var pid: pid_t = 0
570 | var status = posix_spawn(&pid, benchmarkTool.string, nil, nil, cArgs, environ)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
571 | #endif
572 |
[5/5] Compiling plugin BenchmarkCommandPlugin
[6/6] Compiling plugin GenerateManual
[7/7] Compiling plugin GenerateDoccReference
Building for debugging...
[7/186] Write sources
[7/186] Copying dummy.json
[7/186] Write sources
[49/186] Copying dummy.json
[50/186] Write sources
[87/186] Compiling CSwiftJavaJNI dummy.c
[88/186] Compiling _SwiftSyntaxCShims PlatformMutex.c
[88/186] Compiling CSystem shims.c
[89/186] Write sources
[92/186] Compiling CSwiftJavaJNI dummy.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
18 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[93/186] Compiling _SubprocessCShims process_shims.c
[93/186] Compiling _SwiftSyntaxCShims PlatformMutex.c
[93/186] Compiling CSystem shims.c
[93/186] Compiling _SubprocessCShims process_shims.c
[93/186] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: couldn't find pc file for jemalloc
warning: couldn't find pc file for jemalloc
[0/1] Planning build
[1/1] Compiling plugin JExtractSwiftPlugin
[2/2] Compiling plugin SwiftJavaPlugin
[3/3] Compiling plugin JavaCompilerPlugin
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:27: warning: 'directory' is deprecated: renamed to 'directoryURL'
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:37: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:13:20: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
13 | guard path.lastComponent == "Benchmarks" else { return [] }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:16:39: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:17:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
19 | let outputFiles: [Path] = [swiftFile]
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:57: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:62: warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| `- warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:91: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:23:35: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
21 | let commandArgs: [String] = [
22 | "--target", target.name,
23 | "--output", swiftFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:26:33: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
26 | let command: Command = .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:28:30: warning: 'path' is deprecated: renamed to 'url'
26 | let command: Command = .buildCommand(
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
29 | arguments: commandArgs,
30 | inputFiles: inputFiles,
[4/4] Compiling plugin BenchmarkPlugin
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:31: warning: 'directory' is deprecated: renamed to 'directoryURL'
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:41: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:37:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
37 | if path.lastComponent == "Benchmarks" {
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
38 | for specifiedTarget in specifiedTargets {
39 | let regex = try Regex(specifiedTarget)
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:211:56: warning: 'directory' is deprecated: renamed to 'directoryURL'
209 | benchmarkToolName,
210 | "--command", commandToPerform.rawValue,
211 | "--baseline-storage-path", context.package.directory.string,
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
212 | "--format", outputFormat.rawValue,
213 | "--grouping", grouping,
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:211:66: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
209 | benchmarkToolName,
210 | "--command", commandToPerform.rawValue,
211 | "--baseline-storage-path", context.package.directory.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
212 | "--format", outputFormat.rawValue,
213 | "--grouping", grouping,
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:452:42: warning: 'path' is deprecated: renamed to 'url'
450 |
451 | let tool = buildResult.builtArtifacts.first(where: {
452 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
453 | })
454 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:452:47: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
450 |
451 | let tool = buildResult.builtArtifacts.first(where: {
452 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
453 | })
454 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:459:30: warning: 'path' is deprecated: renamed to 'url'
457 | }
458 |
459 | benchmarkTool = tool.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
460 | #if os(Linux) && compiler(>=6.3)
461 | let swiftRuntimeInterposerLib = tool.path.removingLastComponent()
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:469:38: warning: 'directory' is deprecated: renamed to 'directoryURL'
467 | .filter { $0.kind == .executable }
468 | .filter { benchmark in
469 | let path = benchmark.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
470 | return path.lastComponent == "Benchmarks" ? true : false
471 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:469:48: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
467 | .filter { $0.kind == .executable }
468 | .filter { benchmark in
469 | let path = benchmark.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
470 | return path.lastComponent == "Benchmarks" ? true : false
471 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:470:29: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
468 | .filter { benchmark in
469 | let path = benchmark.directory.removingLastComponent()
470 | return path.lastComponent == "Benchmarks" ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
471 | }
472 | .filter { benchmark in
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:519:77: warning: 'path' is deprecated: renamed to 'url'
517 | let benchmarks = buildResult.builtArtifacts
518 | .filter { benchmark in
519 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
520 | }
521 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:519:82: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
517 | let benchmarks = buildResult.builtArtifacts
518 | .filter { benchmark in
519 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
520 | }
521 |
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:527:88: warning: 'path' is deprecated: renamed to 'url'
525 |
526 | benchmarks.forEach { benchmark in
527 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
528 | }
529 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:527:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
525 |
526 | benchmarks.forEach { benchmark in
527 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
528 | }
529 | }
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:537:45: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
535 | if debug > 0 {
536 | print("To debug, start \(benchmarkToolName) in LLDB using:")
537 | print("lldb \(benchmarkTool.string)")
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
538 | print("")
539 | print("Then launch \(benchmarkToolName) with:")
/host/spi-builder-workspace/.build/checkouts/package-benchmark/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:570:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
568 | #else
569 | var pid: pid_t = 0
570 | var status = posix_spawn(&pid, benchmarkTool.string, nil, nil, cArgs, environ)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
571 | #endif
572 |
[5/5] Compiling plugin BenchmarkCommandPlugin
[6/6] Compiling plugin GenerateManual
[7/7] Compiling plugin GenerateDoccReference
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
18 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[7/100] Compiling _SubprocessCShims process_shims.c
[7/100] Compiling _SwiftSyntaxCShims PlatformMutex.c
[7/100] Compiling CSystem shims.c
[7/100] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm