The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftIndexStore, reference master (7fc1b1), with Swift 6.2 for Android on 20 Jun 2025 23:50:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         android
Swift version:             6.2
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" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.91s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.25s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[5/13] Compiling _CIndexStore dummy.c
[5/13] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/25] Compiling SwiftIndexStore IndexStoreUnit.swift
[9/26] Compiling SwiftIndexStore IndexStoreRelation.swift
[10/26] Compiling SwiftIndexStore IndexStoreSymbol.swift
[11/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/26] Emitting module ArgumentParserToolInfo
[13/27] Wrapping AST for ArgumentParserToolInfo for debugging
[15/65] Emitting module ArgumentParser
[16/70] Compiling ArgumentParser Name.swift
[17/70] Compiling ArgumentParser Parsed.swift
[18/70] Compiling ArgumentParser ParsedValues.swift
[19/70] Compiling ArgumentParser ParserError.swift
[20/70] Compiling ArgumentParser SplitArguments.swift
[21/70] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/70] Compiling ArgumentParser CompletionsGenerator.swift
[23/70] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/70] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/70] Compiling ArgumentParser Argument.swift
[26/70] Compiling ArgumentParser ArgumentHelp.swift
[27/70] Compiling ArgumentParser OptionGroup.swift
[28/70] Compiling ArgumentParser AsyncParsableCommand.swift
[29/70] Compiling ArgumentParser CommandConfiguration.swift
[30/70] Compiling ArgumentParser CommandGroup.swift
[31/70] Compiling ArgumentParser EnumerableFlag.swift
[32/70] Compiling ArgumentParser ArgumentVisibility.swift
[33/70] Compiling ArgumentParser CompletionKind.swift
[34/70] Compiling ArgumentParser Errors.swift
[35/70] Compiling ArgumentParser Flag.swift
[36/70] Compiling ArgumentParser NameSpecification.swift
[37/70] Compiling ArgumentParser Option.swift
[38/70] Compiling ArgumentParser CollectionExtensions.swift
[39/70] Compiling ArgumentParser Platform.swift
[40/70] Compiling ArgumentParser SequenceExtensions.swift
[41/70] Compiling ArgumentParser StringExtensions.swift
[42/70] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/70] Emitting module SwiftIndexStore
/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 {
[46/70] Compiling ArgumentParser DumpHelpGenerator.swift
[47/70] Compiling ArgumentParser HelpCommand.swift
[48/70] Compiling ArgumentParser HelpGenerator.swift
[49/70] Compiling ArgumentParser MessageInfo.swift
[50/70] Compiling ArgumentParser UsageGenerator.swift
[51/70] Compiling SwiftIndexStore LibIndexStore.swift
/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 |             }
[52/70] Compiling SwiftIndexStore UnfairLock.swift
[53/70] Compiling ArgumentParser ExpressibleByArgument.swift
[54/70] Compiling ArgumentParser ParsableArguments.swift
[55/70] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/70] Compiling ArgumentParser ParsableCommand.swift
[57/70] Compiling ArgumentParser ArgumentDecoder.swift
[58/70] Compiling ArgumentParser ArgumentDefinition.swift
[59/70] Compiling ArgumentParser ArgumentSet.swift
[60/70] Compiling ArgumentParser CommandParser.swift
[61/70] Compiling ArgumentParser InputKey.swift
[62/70] Compiling ArgumentParser InputOrigin.swift
[64/71] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:15:17: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
13 |     static func exec(bin: String, arguments: [String], cwd: String? = nil) throws -> (stdout: String, stderr: String) {
14 |         let process = Process()
15 |         process.launchPath = bin
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |                 `- note: use 'executableURL' instead
16 |         process.arguments = arguments
17 |         if let cwd = cwd {
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:18:21: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL' [#DeprecatedDeclaration]
16 |         process.arguments = arguments
17 |         if let cwd = cwd {
18 |             process.currentDirectoryPath = cwd
   |                     |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL' [#DeprecatedDeclaration]
   |                     `- note: use 'currentDirectoryURL' instead
19 |         }
20 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:25:17: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
23 |         process.standardOutput = stdoutPipe
24 |         process.standardError = stderrPipe
25 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |                 `- note: use 'run' instead
26 |         process.waitUntilExit()
27 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[65/71] Compiling SwiftIndexStore OptionSetDisplayable.swift
[66/71] Compiling SwiftIndexStore SwiftIndexStore.swift
[66/71] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.2 android