Build Information
Failed to build swift-weak-self-check, reference main (1bbad2), with Swift 6.3 for Android on 16 Apr 2026 22:08:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-weak-self-check.git
Reference: main
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/p-x9/swift-weak-self-check
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1bbad28 Merge pull request #22 from p-x9/feature/migrate-deprecated-api
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
1bbad286af0a19f7a90d16003551d04d3f2f14b3
SUCCESS checkout https://github.com/p-x9/swift-weak-self-check.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/p-x9/swift-weak-self-check.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/jpsim/Yams.git
[1/330] Fetching swift-indexstore
[5/17853] Fetching swift-indexstore, swift-argument-parser
[4712/29404] Fetching swift-indexstore, swift-argument-parser, yams
[19587/104389] Fetching swift-indexstore, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (3.33s)
[65067/104059] Fetching swift-argument-parser, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (3.41s)
[55016/92508] Fetching swift-argument-parser, swift-syntax
Fetching https://github.com/p-x9/swift-source-reporter.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (10.67s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.76s)
[1/47] Fetching swift-source-reporter
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (0.35s)
Computing version for https://github.com/p-x9/swift-source-reporter.git
Computed https://github.com/p-x9/swift-source-reporter.git at 0.2.0 (11.43s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.5.0 (0.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.88s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.92s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.93s)
Creating working copy for https://github.com/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/p-x9/swift-source-reporter.git
Working copy of https://github.com/p-x9/swift-source-reporter.git resolved at 0.2.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
/host/spi-builder-workspace/Plugins/WeakSelfCheckCommandPlugin/plugin.swift:37:17: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
35 |
36 | let process = Process()
37 | process.launchPath = tool.url.path
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
| `- note: use 'executableURL' instead
38 | process.arguments = [
39 | path,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin WeakSelfCheckCommandPlugin
[2/2] Compiling plugin WeakSelfCheckBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/93] Write sources
[15/93] Compiling _CIndexStore dummy.c
[15/93] Compiling _SwiftSyntaxCShims dummy.c
[15/93] Write sources
[24/93] Compiling _SwiftSyntaxCShims dummy.c
[25/93] Compiling _CIndexStore dummy.c
[26/93] Write sources
[27/93] Compiling writer.c
[27/93] Write sources
[33/93] Compiling reader.c
[34/93] Write swift-version--4F562202D5529B1.txt
[34/93] Write sources
[42/93] Compiling api.c
[43/93] Compiling parser.c
[44/103] Compiling emitter.c
[45/103] Compiling scanner.c
[47/103] Emitting module SwiftSyntax601
[48/109] Emitting module SwiftSyntax509
[49/109] Compiling SwiftSyntax510 Empty.swift
[50/109] Emitting module SwiftSyntax510
[51/110] Emitting module SwiftSyntax601
[52/110] Compiling SwiftSyntax601 Empty.swift
[55/111] Emitting module SwiftSyntax600
[56/111] Compiling SwiftSyntax600 Empty.swift
[57/112] Compiling SwiftSyntax509 Empty.swift
[58/112] Emitting module SwiftSyntax509
[61/160] Compiling SwiftSyntax601 Empty.swift
[62/161] Compiling SwiftSyntax509 Empty.swift
[65/162] Compiling SwiftSyntax510 Empty.swift
[66/162] Emitting module SwiftSyntax510
[67/163] Compiling SwiftSyntax600 Empty.swift
[68/163] Emitting module SwiftSyntax600
[70/167] Wrapping AST for SwiftSyntax601 for debugging
[71/211] Wrapping AST for SwiftSyntax600 for debugging
[72/231] Wrapping AST for SwiftSyntax510 for debugging
[73/294] Wrapping AST for SwiftSyntax509 for debugging
[75/294] Emitting module ArgumentParserToolInfo
[75/294] Wrapping AST for SwiftSyntax601 for debugging
[76/294] Wrapping AST for SwiftSyntax600 for debugging
[77/294] Wrapping AST for SwiftSyntax510 for debugging
[78/294] Wrapping AST for SwiftSyntax509 for debugging
[79/294] Write sources
[80/294] Compiling writer.c
[82/301] Compiling ArgumentParserToolInfo ToolInfo.swift
[84/348] Compiling SourceReporter CompositeReporter.swift
[85/348] Compiling ArgumentParser ArgumentVisibility.swift
[86/348] Compiling ArgumentParser CompletionKind.swift
[87/348] Compiling ArgumentParser Errors.swift
[88/348] Compiling ArgumentParser Flag.swift
[89/348] Compiling ArgumentParser NameSpecification.swift
[90/348] Compiling ArgumentParser Option.swift
[91/348] Compiling ArgumentParser OptionGroup.swift
[92/348] Compiling ArgumentParser ParsableCommand.swift
[93/348] Compiling ArgumentParser ArgumentDecoder.swift
[94/348] Compiling ArgumentParser ArgumentDefinition.swift
[95/348] Compiling ArgumentParser ArgumentSet.swift
[96/348] Compiling ArgumentParser CommandParser.swift
[97/348] Compiling ArgumentParser InputKey.swift
[98/348] Compiling ArgumentParser BashCompletionsGenerator.swift
[99/348] Compiling ArgumentParser CompletionsGenerator.swift
[100/348] Compiling ArgumentParser FishCompletionsGenerator.swift
[101/348] Compiling ArgumentParser ZshCompletionsGenerator.swift
[102/348] Compiling ArgumentParser Argument.swift
[103/357] Emitting module ArgumentParser
[104/363] Compiling ArgumentParser ParentCommand.swift
[105/363] Compiling ArgumentParser AsyncParsableCommand.swift
[106/363] Compiling ArgumentParser CommandConfiguration.swift
[107/363] Compiling ArgumentParser CommandGroup.swift
[108/363] Compiling ArgumentParser EnumerableFlag.swift
[109/363] Compiling ArgumentParser ExpressibleByArgument.swift
[110/363] Compiling ArgumentParser ParsableArguments.swift
[129/372] Compiling ArgumentParser ArgumentDiscussion.swift
[130/372] Compiling ArgumentParser ArgumentHelp.swift
[138/372] Emitting module Yams
[146/374] Compiling ArgumentParser Tree.swift
[147/374] Compiling ArgumentParser CodingKeyValidator.swift
[148/374] Compiling ArgumentParser NonsenseFlagsValidator.swift
[149/374] Compiling ArgumentParser ParsableArgumentsValidation.swift
[150/374] Compiling ArgumentParser PositionalArgumentsValidator.swift
[151/374] Compiling ArgumentParser UniqueNamesValidator.swift
[152/374] Compiling ArgumentParser Foundation.swift
[153/374] Compiling ArgumentParser Mutex.swift
[154/374] Compiling ArgumentParser Platform.swift
[155/374] Compiling ArgumentParser SequenceExtensions.swift
[156/374] Compiling ArgumentParser StringExtensions.swift
[157/374] Compiling ArgumentParser SwiftExtensions.swift
[160/375] Compiling SourceReporter XcodeReporter.swift
[161/375] Compiling SourceReporter ReporterProtocol.swift
[162/375] Compiling SourceReporter ReportType.swift
[163/375] Emitting module SourceReporter
[164/375] Compiling SourceReporter CallbackReporter.swift
[165/375] Compiling SwiftIndexStore Process+Extension.swift
[166/375] Compiling Yams YamlError.swift
[167/375] Compiling Yams YamlTagProviding.swift
[168/376] Emitting module SwiftIndexStore
[171/376] Compiling SwiftIndexStore IndexStoreUnit.swift
[174/376] Compiling SwiftIndexStore LibIndexStore.swift
[178/376] Compiling SourceReporter Report.swift
[179/377] Compiling SwiftIndexStore UnfairLock.swift
[190/377] Wrapping AST for ArgumentParserToolInfo for debugging
[192/377] Compiling ArgumentParser DumpHelpGenerator.swift
[193/377] Compiling ArgumentParser HelpCommand.swift
[194/377] Compiling ArgumentParser HelpGenerator.swift
[195/377] Compiling ArgumentParser MessageInfo.swift
[196/377] Compiling ArgumentParser UsageGenerator.swift
[197/377] Compiling ArgumentParser CollectionExtensions.swift
[198/377] Compiling ArgumentParser InputOrigin.swift
[199/377] Compiling ArgumentParser Name.swift
[200/377] Compiling ArgumentParser Parsed.swift
[201/377] Compiling ArgumentParser ParsedValues.swift
[202/377] Compiling ArgumentParser ParserError.swift
[203/377] Compiling ArgumentParser SplitArguments.swift
[203/377] Wrapping AST for SourceReporter for debugging
[205/377] Compiling SwiftIndexStore OptionSetDisplayable.swift
[206/377] Compiling SwiftIndexStore SwiftIndexStore.swift
[207/378] Wrapping AST for SwiftIndexStore for debugging
[208/378] Compiling reader.c
[209/378] Compiling parser.c
[210/378] Compiling scanner.c
[229/378] Compiling api.c
[230/378] Write sources
[232/380] Compiling emitter.c
[240/401] Wrapping AST for Yams for debugging
[242/401] Compiling Yams Parser.swift
[243/401] Compiling Yams RedundancyAliasingStrategy.swift
[244/401] Compiling Yams Representer.swift
[245/401] Compiling Yams AliasDereferencingStrategy.swift
[246/401] Compiling Yams Anchor.swift
[247/401] Compiling Yams Constructor.swift
[249/401] Compiling Yams Node.swift
[250/401] Compiling Yams Mark.swift
[251/401] Compiling Yams Node.Alias.swift
[252/401] Compiling Yams Node.Mapping.swift
[253/401] Compiling Yams Tag.swift
[254/401] Compiling Yams YamlAnchorProviding.swift
[255/402] Wrapping AST for ArgumentParser for debugging
[257/402] Emitting module ArgumentParserToolInfo
[258/402] Compiling ArgumentParserToolInfo ToolInfo.swift
[259/403] Wrapping AST for ArgumentParserToolInfo for debugging
[261/449] Compiling SwiftIndexStore IndexStoreUnit.swift
[262/449] Compiling SwiftIndexStore UnfairLock.swift
[263/449] Compiling SourceReporter CallbackReporter.swift
[264/449] Emitting module SourceReporter
[265/449] Compiling SourceReporter XcodeReporter.swift
[266/449] Compiling SourceReporter ReporterProtocol.swift
[267/449] Compiling SourceReporter ReportType.swift
[268/449] Compiling ArgumentParser BashCompletionsGenerator.swift
[269/449] Compiling ArgumentParser CompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[270/449] Emitting module SwiftIndexStore
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/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/.build/checkouts/swift-indexstore/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/.build/checkouts/swift-indexstore/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 {
[271/449] Compiling SourceReporter CompositeReporter.swift
[272/449] Compiling SourceReporter Report.swift
[273/450] Wrapping AST for SourceReporter for debugging
[275/450] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/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/.build/checkouts/swift-indexstore/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/.build/checkouts/swift-indexstore/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/.build/checkouts/swift-indexstore/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 | }
[276/450] Compiling SwiftIndexStore OptionSetDisplayable.swift
[277/450] Compiling SwiftIndexStore Process+Extension.swift
[278/450] Compiling SwiftIndexStore SwiftIndexStore.swift
BUILD FAILURE 6.3 android