The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftIndexStore, reference master (7fc1b1), with Swift 6.3 for Wasm on 14 Apr 2026 04:54:25 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ileitch/swift-indexstore.git
Reference: master
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/ileitch/swift-indexstore
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7fc1b1e Update IndexStoreSymbol
Cloned https://github.com/ileitch/swift-indexstore.git
Revision (git rev-parse @):
7fc1b1e59955b070e28bb32c29e8774625bab5a1
SUCCESS checkout https://github.com/ileitch/swift-indexstore.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ileitch/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/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.26s)
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] Emitting module ArgumentParserToolInfo
[10/26] Compiling SwiftIndexStore IndexStoreRelation.swift
[11/26] Compiling SwiftIndexStore IndexStoreSymbol.swift
[12/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/28] Wrapping AST for ArgumentParserToolInfo for debugging
[15/74] Emitting module ArgumentParser
[16/80] Compiling ArgumentParser ParentCommand.swift
[17/80] Compiling ArgumentParser AsyncParsableCommand.swift
[18/80] Compiling ArgumentParser CommandConfiguration.swift
[19/80] Compiling ArgumentParser CommandGroup.swift
[20/80] Compiling ArgumentParser EnumerableFlag.swift
[21/80] Compiling ArgumentParser ExpressibleByArgument.swift
[22/80] Compiling ArgumentParser ParsableArguments.swift
[23/80] Compiling SwiftIndexStore IndexStoreUnit.swift
[24/80] Compiling SwiftIndexStore UnfairLock.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/80] 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(
[28/80] Compiling SwiftIndexStore OptionSetDisplayable.swift
[29/80] 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 |         )
[30/80] 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"]
[31/80] Compiling SwiftIndexStore SwiftIndexStore.swift
[32/80] Compiling ArgumentParser Foundation.swift
[33/80] Compiling ArgumentParser Mutex.swift
[34/80] Compiling ArgumentParser Platform.swift
[35/80] Compiling ArgumentParser SequenceExtensions.swift
[36/80] Compiling ArgumentParser StringExtensions.swift
[37/80] Compiling ArgumentParser SwiftExtensions.swift
[38/80] Compiling ArgumentParser InputOrigin.swift
[39/80] Compiling ArgumentParser Name.swift
[40/80] Compiling ArgumentParser Parsed.swift
[41/80] Compiling ArgumentParser ParsedValues.swift
[42/80] Compiling ArgumentParser ParserError.swift
[43/80] Compiling ArgumentParser SplitArguments.swift
BUILD FAILURE 6.3 wasm