Build Information
Failed to build SwiftIndexStore, reference 0.5.0 (26d3af), with Swift 6.3 for Wasm on 18 Apr 2026 18:53:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kateinoigakukun/swift-indexstore.git
Reference: 0.5.0
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/kateinoigakukun/swift-indexstore
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 26d3af1 Merge pull request #17 from ileitch/bazel9
Cloned https://github.com/kateinoigakukun/swift-indexstore.git
Revision (git rev-parse @):
26d3af186fb38ec3a96c8a9a3172b7ccc3565524
SUCCESS checkout https://github.com/kateinoigakukun/swift-indexstore.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/kateinoigakukun/swift-indexstore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
[1/17529] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.42s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/14] Write sources
[6/14] Compiling _CIndexStore dummy.c
[7/14] Write swift-version-24593BA9C3E375BF.txt
[9/26] Compiling SwiftIndexStore IndexStoreRelation.swift
[10/26] Compiling SwiftIndexStore IndexStoreSymbol.swift
[11/27] Emitting module ArgumentParserToolInfo
[12/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/28] Wrapping AST for ArgumentParserToolInfo for debugging
[15/74] Compiling SwiftIndexStore IndexStoreUnit.swift
[16/74] Compiling SwiftIndexStore OptionSetDisplayable.swift
[17/74] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:17:5: warning: '@dynamicMemberLookup' requires 'subscript(dynamicMember:)' to be as accessible as its enclosing type; this will be an error in a future Swift language mode
15 | func getPath() -> String { url.path }
16 |
17 | subscript<T>(dynamicMember keyPath: KeyPath<indexstore_functions_t, T>) -> T {
| `- warning: '@dynamicMemberLookup' requires 'subscript(dynamicMember:)' to be as accessible as its enclosing type; this will be an error in a future Swift language mode
18 | api[keyPath: keyPath]
19 | }
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/74] Compiling ArgumentParser BashCompletionsGenerator.swift
[19/74] Compiling ArgumentParser CompletionsGenerator.swift
[20/74] Emitting module SwiftIndexStore
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:17:5: warning: '@dynamicMemberLookup' requires 'subscript(dynamicMember:)' to be as accessible as its enclosing type; this will be an error in a future Swift language mode
15 | func getPath() -> String { url.path }
16 |
17 | subscript<T>(dynamicMember keyPath: KeyPath<indexstore_functions_t, T>) -> T {
| `- warning: '@dynamicMemberLookup' requires 'subscript(dynamicMember:)' to be as accessible as its enclosing type; this will be an error in a future Swift language mode
18 | api[keyPath: keyPath]
19 | }
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
[21/74] Compiling SwiftIndexStore UnfairLock.swift
[22/74] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:6:13: error: cannot find type 'TerminationReason' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
6 | TerminationReason, Int32, command: String,
| `- error: cannot find type 'TerminationReason' in scope
7 | stdout: String, stderr: String
8 | )
[23/74] Compiling SwiftIndexStore SwiftIndexStore.swift
BUILD FAILURE 6.3 wasm