The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-weak-self-check, reference 0.7.0 (1bbad2), with Swift 6.2 (beta) for Android on 4 Sep 2025 20:29:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
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.2
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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/kateinoigakukun/swift-indexstore.git
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
[1/47] Fetching swift-source-reporter
[48/370] Fetching swift-source-reporter, swift-indexstore
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (0.50s)
[1/11136] Fetching yams
[2451/26828] Fetching yams, swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.76s)
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (2.76s)
Fetched https://github.com/jpsim/Yams.git from cache (2.89s)
[1/71850] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.32s)
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.85s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.4.0 (2.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.80s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.91s)
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/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.4.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
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.6.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
[23/93] Compiling _SwiftSyntaxCShims dummy.c
[24/93] Write sources
[31/93] Compiling _CIndexStore dummy.c
[32/93] Compiling writer.c
[33/93] Compiling _SwiftSyntaxCShims dummy.c
[34/93] Write swift-version-8C5A4AE7A8CE2BA.txt
[34/93] Write sources
[43/93] Compiling api.c
[44/93] Compiling _CIndexStore dummy.c
[45/93] Compiling reader.c
[46/96] Compiling parser.c
[47/97] Compiling writer.c
[48/99] Compiling api.c
[49/99] Compiling emitter.c
[51/103] Emitting module SwiftSyntax600
[51/106] Compiling scanner.c
[53/107] Emitting module SwiftSyntax510
[54/127] Compiling SwiftSyntax510 Empty.swift
[55/128] Emitting module SwiftSyntax601
[56/128] Compiling SwiftSyntax601 Empty.swift
[59/129] Compiling SwiftSyntax600 Empty.swift
[60/130] Compiling Yams Tag.swift
[61/130] Compiling Yams YamlAnchorProviding.swift
[62/132] Emitting module SwiftSyntax509
[63/132] Compiling SwiftSyntax509 Empty.swift
[65/133] Compiling Yams Mark.swift
[66/133] Compiling Yams Node.Alias.swift
[67/133] Compiling Yams Node.Mapping.swift
[69/155] Emitting module SwiftSyntax509
[70/155] Compiling SwiftSyntax509 Empty.swift
[71/156] Compiling SwiftSyntax510 Empty.swift
[72/156] Emitting module SwiftSyntax510
[73/157] Emitting module SwiftSyntax600
[74/157] Compiling SwiftSyntax600 Empty.swift
[78/222] Emitting module SwiftSyntax601
[79/222] Compiling SwiftSyntax601 Empty.swift
[81/303] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[82/303] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[83/303] Compiling ArgumentParserToolInfo ToolInfo.swift
[84/303] Emitting module ArgumentParserToolInfo
[86/306] Compiling SwiftSyntax SyntaxIdentifier.swift
[87/306] Compiling SwiftSyntax SyntaxNodeFactory.swift
[88/306] Compiling SwiftSyntax SyntaxNodeStructure.swift
[89/306] Compiling SwiftSyntax TokenDiagnostic.swift
[90/306] Compiling SwiftSyntax TokenSequence.swift
[91/306] Compiling SwiftSyntax RawSyntax.swift
[92/306] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[93/306] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[94/306] Emitting module Yams
[95/306] Compiling SwiftSyntax Identifier.swift
[96/306] Compiling SwiftSyntax MemoryLayout.swift
[97/306] Compiling SwiftSyntax MissingNodeInitializers.swift
[98/306] Compiling SwiftSyntax SyntaxProtocol.swift
[99/306] Compiling SwiftSyntax SyntaxText.swift
[100/306] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[102/351] Compiling SwiftIndexStore Process+Extension.swift
[103/352] Compiling SourceReporter CallbackReporter.swift
[104/352] Compiling SourceReporter CompositeReporter.swift
[105/352] Compiling SourceReporter ReportType.swift
[106/352] Compiling SourceReporter ReporterProtocol.swift
[107/352] Compiling SourceReporter XcodeReporter.swift
[108/352] Emitting module SourceReporter
[109/352] Compiling SwiftIndexStore UnfairLock.swift
[110/352] Compiling ArgumentParser FishCompletionsGenerator.swift
[111/352] Compiling ArgumentParser ZshCompletionsGenerator.swift
[112/352] Compiling ArgumentParser Errors.swift
[113/352] Compiling ArgumentParser Flag.swift
[114/352] Compiling ArgumentParser NameSpecification.swift
[115/352] Compiling ArgumentParser Option.swift
[116/352] Compiling ArgumentParser OptionGroup.swift
[117/352] Compiling ArgumentParser AsyncParsableCommand.swift
[118/352] Compiling ArgumentParser CommandConfiguration.swift
[119/352] Compiling ArgumentParser CommandGroup.swift
[120/352] Compiling ArgumentParser EnumerableFlag.swift
[130/370] Compiling SwiftIndexStore LibIndexStore.swift
[131/370] Compiling SwiftIndexStore IndexStoreUnit.swift
[132/370] Compiling SourceReporter Report.swift
[133/371] Wrapping AST for Yams for debugging
[134/371] Wrapping AST for SwiftSyntax601 for debugging
[136/371] Compiling ArgumentParser BashCompletionsGenerator.swift
[137/371] Compiling ArgumentParser CompletionsGenerator.swift
[137/371] Wrapping AST for SwiftSyntax600 for debugging
[138/371] Wrapping AST for SwiftSyntax510 for debugging
[140/371] Emitting module SwiftIndexStore
[140/371] Wrapping AST for SwiftSyntax509 for debugging
[141/371] Wrapping AST for SourceReporter for debugging
[143/371] Emitting module ArgumentParserToolInfo
[144/371] Compiling ArgumentParserToolInfo ToolInfo.swift
[144/372] Wrapping AST for ArgumentParserToolInfo for debugging
[146/372] Compiling SwiftIndexStore OptionSetDisplayable.swift
[147/373] Wrapping AST for SwiftSyntax601 for debugging
[148/373] Wrapping AST for SwiftSyntax600 for debugging
[149/417] Wrapping AST for SwiftSyntax510 for debugging
[151/417] Compiling ArgumentParser BashCompletionsGenerator.swift
[152/417] Compiling ArgumentParser CompletionsGenerator.swift
[153/417] Compiling ArgumentParser FishCompletionsGenerator.swift
[154/417] Compiling ArgumentParser ZshCompletionsGenerator.swift
[155/417] Compiling ArgumentParser Argument.swift
[156/417] Compiling ArgumentParser ArgumentDiscussion.swift
[157/417] Compiling ArgumentParser ArgumentHelp.swift
[158/417] Compiling ArgumentParser ArgumentVisibility.swift
[159/417] Compiling ArgumentParser CompletionKind.swift
[159/417] Wrapping AST for SwiftSyntax509 for debugging
[161/417] Compiling SwiftIndexStore SwiftIndexStore.swift
[162/417] Compiling SwiftIndexStore OptionSetDisplayable.swift
[164/418] Compiling ArgumentParser SplitArguments.swift
[165/418] Compiling ArgumentParser DumpHelpGenerator.swift
[166/418] Compiling ArgumentParser HelpCommand.swift
[167/418] Compiling ArgumentParser HelpGenerator.swift
[168/418] Compiling ArgumentParser MessageInfo.swift
[169/418] Compiling ArgumentParser UsageGenerator.swift
[169/424] Compiling reader.c
[170/424] Wrapping AST for SwiftIndexStore for debugging
[171/424] Compiling scanner.c
[172/424] Compiling parser.c
[173/424] Wrapping AST for ArgumentParserToolInfo for debugging
[174/424] Compiling emitter.c
[176/444] Emitting module ArgumentParser
[177/444] Compiling Yams AliasDereferencingStrategy.swift
[178/444] Compiling Yams Anchor.swift
[179/444] Compiling Yams Constructor.swift
[180/444] Compiling Yams Decoder.swift
[181/444] Compiling Yams Emitter.swift
[182/444] Compiling Yams Encoder.swift
[183/444] Compiling Yams Mark.swift
[184/444] Compiling Yams Node.Alias.swift
[185/444] Compiling Yams Node.Mapping.swift
[186/444] Compiling Yams Node.Scalar.swift
[187/444] Compiling Yams Node.Sequence.swift
[188/444] Compiling Yams Node.swift
[189/444] Compiling Yams Parser.swift
[190/444] Compiling ArgumentParser Tree.swift
[191/444] Compiling ArgumentParser CodingKeyValidator.swift
[192/444] Compiling ArgumentParser NonsenseFlagsValidator.swift
[193/444] Compiling ArgumentParser ParsableArgumentsValidation.swift
[194/444] Compiling ArgumentParser PositionalArgumentsValidator.swift
[195/444] Compiling ArgumentParser UniqueNamesValidator.swift
[196/444] Compiling ArgumentParser ParsableArguments.swift
[197/444] Compiling ArgumentParser ParsableCommand.swift
[198/444] Compiling ArgumentParser ArgumentDecoder.swift
[199/444] Compiling ArgumentParser ArgumentDefinition.swift
[200/444] Compiling ArgumentParser ArgumentSet.swift
[201/444] Compiling ArgumentParser CommandParser.swift
[202/444] Compiling ArgumentParser CollectionExtensions.swift
[203/444] Compiling ArgumentParser Mutex.swift
[204/444] Compiling ArgumentParser Platform.swift
[205/444] Compiling ArgumentParser SequenceExtensions.swift
[206/444] Compiling ArgumentParser StringExtensions.swift
[207/444] Compiling ArgumentParser SwiftExtensions.swift
[208/444] Emitting module ArgumentParser
error: emit-module command failed with exit code 1 (use -v to see invocation)
[216/450] 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 {
[226/450] Compiling Yams YamlAnchorProviding.swift
[227/450] Compiling ArgumentParser InputKey.swift
[228/450] Compiling ArgumentParser InputOrigin.swift
[229/450] Compiling ArgumentParser Name.swift
[230/450] Compiling ArgumentParser Parsed.swift
[231/450] Compiling ArgumentParser ParsedValues.swift
[232/450] Compiling ArgumentParser ParserError.swift
[235/450] Compiling SwiftIndexStore IndexStoreUnit.swift
[240/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 |             }
[241/450] Compiling SourceReporter ReportType.swift
[242/450] Compiling SourceReporter CompositeReporter.swift
[243/450] Compiling SourceReporter Report.swift
[244/450] Compiling SwiftIndexStore UnfairLock.swift
[245/450] Emitting module SourceReporter
[246/450] Compiling SourceReporter CallbackReporter.swift
[253/450] Compiling SourceReporter ReporterProtocol.swift
[254/450] Compiling SourceReporter XcodeReporter.swift
[256/451] Compiling SwiftIndexStore SwiftIndexStore.swift
[257/451] Compiling SwiftIndexStore Process+Extension.swift
[257/451] Wrapping AST for SourceReporter for debugging
[259/451] Compiling Yams RedundancyAliasingStrategy.swift
[260/451] Compiling Yams Representer.swift
[261/451] Compiling Yams Resolver.swift
[262/451] Compiling Yams String+Yams.swift
[263/451] Compiling Yams Tag.swift
BUILD FAILURE 6.2 android