Build Information
Failed to build swift-weak-self-check, reference 0.7.0 (1bbad2), with Swift 6.3 for Android on 16 Apr 2026 22:09:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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: 0.7.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/p-x9/swift-weak-self-check
* tag 0.7.0 -> FETCH_HEAD
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 0.7.0
========================================
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-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: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/jpsim/Yams.git
Fetching https://github.com/p-x9/swift-source-reporter.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
[1/330] Fetching swift-indexstore
[331/377] Fetching swift-indexstore, swift-source-reporter
[378/17900] Fetching swift-indexstore, swift-source-reporter, swift-argument-parser
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (0.60s)
[506/17853] Fetching swift-indexstore, swift-argument-parser
[857/29404] Fetching swift-indexstore, swift-argument-parser, yams
[18246/104389] Fetching swift-indexstore, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (11.37s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (11.43s)
Fetched https://github.com/jpsim/Yams.git from cache (11.52s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.52s)
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 (12.35s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.5.0 (0.93s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (5.42s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.97s)
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.35s)
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/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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.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/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
[19/93] Compiling _SwiftSyntaxCShims dummy.c
[20/93] Compiling _CIndexStore dummy.c
[21/93] Write sources
[24/93] Compiling _SwiftSyntaxCShims dummy.c
[25/93] Write swift-version--4F562202D5529B1.txt
[26/93] Write sources
[27/93] Compiling writer.c
[28/93] Compiling _CIndexStore dummy.c
[29/93] Compiling reader.c
[30/101] Compiling parser.c
[32/101] Emitting module SwiftSyntax601
[32/101] Compiling api.c
[33/101] Compiling emitter.c
[34/120] Compiling scanner.c
[35/120] Write sources
[37/140] Emitting module SwiftIndexStore
[38/141] Emitting module Yams
[39/143] Compiling SwiftSyntax601 Empty.swift
[40/143] Emitting module SwiftSyntax509
[41/144] Compiling SwiftSyntax509 Empty.swift
[42/145] Compiling SwiftIndexStore OptionSetDisplayable.swift
[44/145] Compiling SourceReporter CompositeReporter.swift
[45/145] Compiling SwiftSyntax510 Empty.swift
[46/145] Emitting module SwiftSyntax510
[47/146] Compiling Yams Tag.swift
[48/146] Compiling Yams YamlAnchorProviding.swift
[49/146] Write sources
[51/146] Emitting module SwiftSyntax600
[52/146] Compiling SwiftSyntax600 Empty.swift
[53/147] Write sources
[55/147] Compiling Yams Mark.swift
[56/147] Compiling Yams Node.Alias.swift
[57/147] Compiling Yams Node.Mapping.swift
[57/147] Wrapping AST for SwiftSyntax509 for debugging
[59/147] Wrapping AST for SwiftSyntax601 for debugging
[61/149] Compiling Yams AliasDereferencingStrategy.swift
[62/149] Compiling Yams Anchor.swift
[62/149] Wrapping AST for SwiftSyntax510 for debugging
[63/149] Write sources
[65/149] Wrapping AST for SwiftSyntax600 for debugging
[67/217] Compiling ArgumentParserToolInfo ToolInfo.swift
[68/217] Emitting module ArgumentParserToolInfo
[70/264] Emitting module ArgumentParser
[71/270] Compiling ArgumentParser Name.swift
[72/270] Compiling ArgumentParser Parsed.swift
[73/270] Compiling ArgumentParser SplitArguments.swift
[74/270] Compiling ArgumentParser ArgumentVisibility.swift
[75/270] Compiling ArgumentParser ExpressibleByArgument.swift
[76/270] Compiling ArgumentParser ParsableArguments.swift
[77/270] Compiling ArgumentParser InputOrigin.swift
[78/270] Compiling SwiftIndexStore LibIndexStore.swift
[79/270] Compiling SwiftIndexStore IndexStoreUnit.swift
[80/270] Compiling SwiftIndexStore UnfairLock.swift
[81/270] Compiling ArgumentParser Foundation.swift
[82/270] Compiling ArgumentParser Mutex.swift
[83/270] Compiling ArgumentParser Platform.swift
[84/270] Compiling ArgumentParser SequenceExtensions.swift
[85/270] Compiling ArgumentParser StringExtensions.swift
[86/270] Compiling ArgumentParser SwiftExtensions.swift
[87/270] Compiling SourceReporter CallbackReporter.swift
[88/270] Emitting module SourceReporter
[89/270] Compiling SourceReporter ReportType.swift
[90/270] Compiling SourceReporter XcodeReporter.swift
[91/270] Compiling SourceReporter ReporterProtocol.swift
[92/270] Compiling ArgumentParser FishCompletionsGenerator.swift
[93/270] Compiling ArgumentParser ZshCompletionsGenerator.swift
[94/270] Compiling ArgumentParser CommandConfiguration.swift
[95/270] Compiling ArgumentParser CommandGroup.swift
[96/270] Compiling ArgumentParser EnumerableFlag.swift
[97/270] Compiling SourceReporter Report.swift
[99/271] Compiling ArgumentParser Argument.swift
[100/271] Compiling ArgumentParser ArgumentDiscussion.swift
[101/271] Compiling ArgumentParser BashCompletionsGenerator.swift
[102/271] Compiling ArgumentParser CompletionsGenerator.swift
[105/272] Compiling SwiftIndexStore SwiftIndexStore.swift
[106/272] Compiling SwiftIndexStore Process+Extension.swift
[108/273] Wrapping AST for ArgumentParserToolInfo for debugging
[109/273] Write sources
[110/273] Wrapping AST for SourceReporter for debugging
[111/273] Wrapping AST for Yams for debugging
[111/273] Wrapping AST for SwiftIndexStore for debugging
[113/273] Write sources
[120/283] Compiling writer.c
[125/285] Compiling ArgumentParser ParsedValues.swift
[126/285] Compiling ArgumentParser ParserError.swift
[128/292] Compiling ArgumentParser ParentCommand.swift
[129/292] Compiling ArgumentParser AsyncParsableCommand.swift
[136/292] Compiling ArgumentParser CompletionKind.swift
[137/292] Compiling ArgumentParser Errors.swift
[138/292] Compiling ArgumentParser Flag.swift
[139/292] Compiling ArgumentParser NameSpecification.swift
[140/292] Compiling ArgumentParser Option.swift
[141/292] Compiling ArgumentParser OptionGroup.swift
[151/292] Compiling SwiftIndexStore IndexStoreError.swift
[152/292] Compiling SwiftIndexStore IndexStoreOccurrence.swift
[153/292] Compiling SwiftIndexStore IndexStoreRelation.swift
[154/292] Compiling SwiftIndexStore IndexStoreSymbol.swift
[157/292] Compiling ArgumentParser ArgumentHelp.swift
[160/292] Compiling ArgumentParser Tree.swift
[161/292] Compiling ArgumentParser CodingKeyValidator.swift
[162/292] Compiling ArgumentParser NonsenseFlagsValidator.swift
[163/292] Compiling ArgumentParser ParsableArgumentsValidation.swift
[164/292] Compiling ArgumentParser PositionalArgumentsValidator.swift
[165/292] Compiling ArgumentParser UniqueNamesValidator.swift
[173/301] Compiling ArgumentParser DumpHelpGenerator.swift
[174/301] Compiling ArgumentParser HelpCommand.swift
[175/301] Compiling ArgumentParser HelpGenerator.swift
[176/301] Compiling ArgumentParser MessageInfo.swift
[177/301] Compiling ArgumentParser UsageGenerator.swift
[178/301] Compiling ArgumentParser CollectionExtensions.swift
[179/301] Compiling ArgumentParser ParsableCommand.swift
[180/301] Compiling ArgumentParser ArgumentDecoder.swift
[181/301] Compiling ArgumentParser ArgumentDefinition.swift
[182/301] Compiling ArgumentParser ArgumentSet.swift
[183/301] Compiling ArgumentParser CommandParser.swift
[184/301] Compiling ArgumentParser InputKey.swift
[194/302] Wrapping AST for ArgumentParser for debugging
[195/302] Compiling scanner.c
[196/302] Compiling reader.c
[197/302] Compiling parser.c
[198/302] Compiling emitter.c
[199/302] Compiling api.c
[201/302] Emitting module SwiftSyntax510
[202/302] Compiling SwiftSyntax510 Empty.swift
[203/304] Wrapping AST for SwiftSyntax510 for debugging
[205/304] Emitting module SwiftSyntax600
[206/304] Compiling SwiftSyntax600 Empty.swift
[206/304] Write sources
[209/324] Compiling SwiftSyntax509 Empty.swift
[210/324] Emitting module SwiftSyntax509
[211/325] Emitting module SwiftSyntax601
[212/325] Compiling SwiftSyntax601 Empty.swift
[215/328] Wrapping AST for SwiftSyntax600 for debugging
[216/328] Wrapping AST for SwiftSyntax509 for debugging
[217/328] Wrapping AST for SwiftSyntax601 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[219/392] 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 {
[220/393] Compiling ArgumentParserToolInfo ToolInfo.swift
[221/393] Emitting module ArgumentParserToolInfo
[222/394] Wrapping AST for ArgumentParserToolInfo for debugging
[224/394] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[225/394] Compiling SwiftSyntax Assert.swift
[226/440] Compiling ArgumentParser ParentCommand.swift
[227/440] Compiling ArgumentParser AsyncParsableCommand.swift
[228/440] Compiling ArgumentParser CommandConfiguration.swift
[229/440] Compiling ArgumentParser CommandGroup.swift
[230/440] Compiling ArgumentParser EnumerableFlag.swift
[231/440] Compiling ArgumentParser ExpressibleByArgument.swift
[232/440] Compiling ArgumentParser ParsableArguments.swift
[233/441] Compiling ArgumentParser Errors.swift
[234/441] Compiling ArgumentParser Flag.swift
[235/441] Compiling ArgumentParser NameSpecification.swift
[236/441] Compiling ArgumentParser Option.swift
[237/441] Compiling ArgumentParser OptionGroup.swift
[242/455] Compiling ArgumentParser ArgumentVisibility.swift
[243/455] Compiling ArgumentParser CompletionKind.swift
[249/455] Compiling ArgumentParser Tree.swift
[250/455] Compiling ArgumentParser CodingKeyValidator.swift
[251/455] Compiling ArgumentParser NonsenseFlagsValidator.swift
[252/455] Compiling ArgumentParser ParsableArgumentsValidation.swift
[253/455] Compiling ArgumentParser PositionalArgumentsValidator.swift
[254/455] Compiling ArgumentParser UniqueNamesValidator.swift
[255/455] Compiling ArgumentParser InputOrigin.swift
[256/455] Compiling ArgumentParser Name.swift
[257/455] Compiling ArgumentParser Parsed.swift
[258/455] Compiling ArgumentParser ParsedValues.swift
[259/455] Compiling ArgumentParser ParserError.swift
[260/455] Compiling ArgumentParser SplitArguments.swift
[261/455] Compiling ArgumentParser Foundation.swift
[262/455] Compiling ArgumentParser Mutex.swift
[263/455] Compiling ArgumentParser Platform.swift
[264/455] Compiling ArgumentParser SequenceExtensions.swift
[265/455] Compiling ArgumentParser StringExtensions.swift
[266/455] Compiling ArgumentParser SwiftExtensions.swift
[267/455] Emitting module ArgumentParser
[268/455] Compiling ArgumentParser BashCompletionsGenerator.swift
[269/455] Compiling ArgumentParser CompletionsGenerator.swift
[270/455] Compiling ArgumentParser FishCompletionsGenerator.swift
[271/455] Compiling ArgumentParser ZshCompletionsGenerator.swift
[272/455] Compiling ArgumentParser Argument.swift
[273/455] Compiling ArgumentParser ArgumentDiscussion.swift
[274/455] Compiling ArgumentParser ArgumentHelp.swift
[277/455] Emitting module SourceReporter
[278/455] Compiling SwiftIndexStore IndexStoreUnit.swift
[279/455] 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 | }
[280/455] Compiling SwiftIndexStore UnfairLock.swift
[281/455] Compiling SourceReporter ReportType.swift
[282/455] Compiling SourceReporter XcodeReporter.swift
[283/455] Compiling SourceReporter ReporterProtocol.swift
[284/455] Compiling SourceReporter CallbackReporter.swift
[285/455] Compiling SourceReporter CompositeReporter.swift
[286/455] Compiling SourceReporter Report.swift
[287/456] Compiling SwiftIndexStore OptionSetDisplayable.swift
[288/456] Compiling SwiftIndexStore Process+Extension.swift
[292/456] Compiling SwiftIndexStore SwiftIndexStore.swift
[292/458] Wrapping AST for SourceReporter for debugging
[293/458] Compiling ArgumentParser DumpHelpGenerator.swift
[294/458] Compiling ArgumentParser HelpCommand.swift
[295/458] Compiling ArgumentParser HelpGenerator.swift
[296/458] Compiling ArgumentParser MessageInfo.swift
[297/458] Compiling ArgumentParser UsageGenerator.swift
[298/458] Compiling ArgumentParser CollectionExtensions.swift
BUILD FAILURE 6.3 android