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 main (1bbad2), with Swift 6.2 (beta) for Android on 4 Sep 2025 20:28:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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.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-4609320-3":/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/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/p-x9/swift-source-reporter.git
Fetching https://github.com/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/323] Fetching swift-indexstore
[257/370] Fetching swift-indexstore, swift-source-reporter
[371/11506] Fetching swift-indexstore, swift-source-reporter, yams
[706/83356] Fetching swift-indexstore, swift-source-reporter, yams, swift-syntax
[3418/99048] Fetching swift-indexstore, swift-source-reporter, yams, swift-syntax, swift-argument-parser
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (1.01s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.02s)
[22435/83033] Fetching swift-source-reporter, yams, swift-syntax
Fetched https://github.com/p-x9/swift-source-reporter.git from cache (1.62s)
Fetched https://github.com/jpsim/Yams.git from cache (1.67s)
[49577/71850] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.13s)
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 (6.60s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.4.0 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.50s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.74s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.73s)
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
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
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
/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
[19/93] Compiling _CIndexStore dummy.c
[19/93] Write sources
[24/93] Compiling writer.c
[25/93] Compiling reader.c
[26/93] Write sources
[40/93] Compiling _CIndexStore dummy.c
[41/93] Compiling _SwiftSyntaxCShims dummy.c
[42/93] Write swift-version-8C5A4AE7A8CE2BA.txt
[43/93] Compiling writer.c
[44/93] Compiling parser.c
[45/93] Compiling api.c
[46/93] Compiling reader.c
[47/99] Compiling scanner.c
[48/99] Compiling emitter.c
[50/101] Emitting module SwiftSyntax601
[50/101] Compiling parser.c
[52/103] Emitting module SwiftSyntax600
[52/125] Compiling scanner.c
[54/127] Emitting module Yams
[55/129] Emitting module SwiftSyntax509
[56/129] Compiling SwiftSyntax509 Empty.swift
[57/129] Compiling SwiftSyntax600 Empty.swift
[58/131] Compiling SwiftSyntax601 Empty.swift
[60/132] Compiling SwiftSyntax510 Empty.swift
[61/132] Emitting module SwiftSyntax510
[62/132] Compiling SwiftSyntax510 Empty.swift
[63/132] Emitting module SwiftSyntax510
[68/134] Compiling Yams Tag.swift
[69/134] Compiling Yams YamlAnchorProviding.swift
[70/134] Compiling SwiftSyntax601 Empty.swift
[71/134] Emitting module SwiftSyntax601
[72/135] Emitting module SwiftSyntax600
[73/135] Compiling SwiftSyntax600 Empty.swift
[76/172] Compiling SwiftSyntax509 Empty.swift
[77/172] Emitting module SwiftSyntax509
[77/175] Wrapping AST for SwiftSyntax601 for debugging
[79/175] Wrapping AST for SwiftSyntax600 for debugging
[81/303] Compiling ArgumentParserToolInfo ToolInfo.swift
[82/303] Emitting module ArgumentParserToolInfo
[83/304] Wrapping AST for SwiftSyntax510 for debugging
[85/348] Compiling ArgumentParser ParsableArguments.swift
[86/348] Compiling ArgumentParser ParsableCommand.swift
[87/348] Compiling ArgumentParser EnumerableFlag.swift
[88/348] Compiling ArgumentParser ExpressibleByArgument.swift
[89/348] Compiling SourceReporter CallbackReporter.swift
[90/348] Compiling ArgumentParser Option.swift
[91/348] Compiling ArgumentParser OptionGroup.swift
[92/348] Compiling ArgumentParser AsyncParsableCommand.swift
[93/348] Compiling ArgumentParser Errors.swift
[94/348] Compiling ArgumentParser Flag.swift
[95/348] Compiling ArgumentParser NameSpecification.swift
[96/348] Compiling ArgumentParser ArgumentHelp.swift
[97/348] Compiling ArgumentParser ArgumentVisibility.swift
[98/348] Compiling ArgumentParser CompletionKind.swift
[99/348] Emitting module SourceReporter
[100/348] Compiling SourceReporter ReporterProtocol.swift
[101/348] Compiling SourceReporter ReportType.swift
[102/348] Compiling SourceReporter XcodeReporter.swift
[103/348] Compiling ArgumentParser BashCompletionsGenerator.swift
[104/348] Compiling ArgumentParser CompletionsGenerator.swift
[105/348] Compiling ArgumentParser FishCompletionsGenerator.swift
[106/348] Compiling ArgumentParser ZshCompletionsGenerator.swift
[107/348] Compiling ArgumentParser Argument.swift
[108/348] Compiling ArgumentParser ArgumentDiscussion.swift
[110/349] Compiling SourceReporter CompositeReporter.swift
[111/349] Compiling SourceReporter Report.swift
[112/350] Compiling SwiftIndexStore Process+Extension.swift
[115/351] Wrapping AST for Yams for debugging
[117/351] Compiling SwiftIndexStore UnfairLock.swift
[117/351] Wrapping AST for SwiftSyntax509 for debugging
[119/351] Compiling SwiftIndexStore IndexStoreUnit.swift
[119/351] Wrapping AST for SourceReporter for debugging
[120/351] Wrapping AST for ArgumentParserToolInfo for debugging
[121/351] Wrapping AST for SwiftSyntax600 for debugging
[122/351] Wrapping AST for SwiftSyntax601 for debugging
[123/351] Wrapping AST for SwiftSyntax510 for debugging
[126/351] Wrapping AST for SwiftSyntax509 for debugging
[128/351] Emitting module SwiftIndexStore
[128/351] Compiling api.c
[128/351] Write sources
[131/353] Compiling emitter.c
[133/373] Compiling SwiftIndexStore OptionSetDisplayable.swift
[134/373] Compiling SwiftIndexStore LibIndexStore.swift
[135/373] Compiling SwiftIndexStore SwiftIndexStore.swift
[136/374] Wrapping AST for SwiftIndexStore for debugging
[138/374] Compiling ArgumentParser CollectionExtensions.swift
[139/374] Compiling ArgumentParser Mutex.swift
[140/374] Compiling ArgumentParser Platform.swift
[141/374] Compiling ArgumentParser SequenceExtensions.swift
[142/374] Compiling ArgumentParser StringExtensions.swift
[143/374] Compiling ArgumentParser SwiftExtensions.swift
[144/380] Compiling Yams Anchor.swift
[145/380] Compiling Yams Constructor.swift
[146/380] Compiling Yams Resolver.swift
[147/380] Compiling Yams String+Yams.swift
[148/380] Compiling Yams Decoder.swift
[149/380] Compiling Yams Emitter.swift
[150/380] Compiling ArgumentParser Tree.swift
[151/380] Compiling ArgumentParser CodingKeyValidator.swift
[152/380] Compiling ArgumentParser NonsenseFlagsValidator.swift
[153/380] Compiling ArgumentParser ParsableArgumentsValidation.swift
[154/380] Compiling ArgumentParser PositionalArgumentsValidator.swift
[155/380] Compiling ArgumentParser UniqueNamesValidator.swift
[156/380] Compiling Yams Mark.swift
[157/380] Compiling Yams Node.Alias.swift
[158/380] Compiling Yams Node.Mapping.swift
[159/380] Compiling Yams Node.Scalar.swift
[160/380] Compiling Yams Node.Sequence.swift
[161/380] Compiling Yams Node.swift
[162/380] Compiling Yams AliasDereferencingStrategy.swift
[163/380] Emitting module ArgumentParser
[164/380] Emitting module ArgumentParserToolInfo
[165/380] Compiling ArgumentParserToolInfo ToolInfo.swift
[176/390] Compiling Yams YamlAnchorProviding.swift
[179/390] Compiling ArgumentParser ArgumentDecoder.swift
[180/390] Compiling ArgumentParser ArgumentDefinition.swift
[181/390] Compiling ArgumentParser ArgumentSet.swift
[182/390] Compiling ArgumentParser CommandParser.swift
[183/390] Compiling ArgumentParser InputKey.swift
[184/390] Compiling ArgumentParser InputOrigin.swift
[198/390] Compiling Yams Encoder.swift
[199/390] Compiling Yams Parser.swift
[200/390] Compiling Yams RedundancyAliasingStrategy.swift
[201/390] Compiling Yams Representer.swift
[202/390] Compiling Yams Tag.swift
[202/399] Wrapping AST for ArgumentParserToolInfo for debugging
[204/443] Compiling SourceReporter XcodeReporter.swift
[205/443] Emitting module SourceReporter
[206/443] Compiling SourceReporter ReportType.swift
[207/443] Compiling SourceReporter ReporterProtocol.swift
[208/443] Compiling SwiftIndexStore IndexStoreUnit.swift
[209/443] Compiling ArgumentParser Errors.swift
[210/443] Compiling ArgumentParser Flag.swift
[211/443] 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 |             }
[212/444] Compiling ArgumentParser ParsableArguments.swift
[213/444] Compiling ArgumentParser ParsableCommand.swift
[214/444] Compiling ArgumentParser ArgumentDecoder.swift
[215/444] Compiling ArgumentParser ArgumentDefinition.swift
[216/444] Compiling ArgumentParser ArgumentSet.swift
[217/444] Compiling ArgumentParser CommandParser.swift
[218/444] Compiling ArgumentParser CollectionExtensions.swift
[219/444] Compiling ArgumentParser Mutex.swift
[220/444] Compiling ArgumentParser Platform.swift
[221/444] Compiling ArgumentParser SequenceExtensions.swift
[222/444] Compiling ArgumentParser StringExtensions.swift
[223/444] Compiling ArgumentParser SwiftExtensions.swift
[224/444] Compiling ArgumentParser OptionGroup.swift
[225/444] Compiling ArgumentParser AsyncParsableCommand.swift
[226/444] Compiling ArgumentParser CommandConfiguration.swift
[227/444] Compiling ArgumentParser CommandGroup.swift
[228/444] Compiling ArgumentParser EnumerableFlag.swift
[229/444] Compiling ArgumentParser ExpressibleByArgument.swift
[230/444] Compiling ArgumentParser InputKey.swift
[231/444] Compiling ArgumentParser InputOrigin.swift
[232/444] Compiling ArgumentParser Name.swift
[233/444] Compiling ArgumentParser Parsed.swift
[234/444] Compiling ArgumentParser ParsedValues.swift
[235/444] Compiling ArgumentParser ParserError.swift
[236/445] Compiling SwiftIndexStore OptionSetDisplayable.swift
[238/445] Compiling ArgumentParser ArgumentVisibility.swift
[239/445] Compiling ArgumentParser CompletionKind.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[240/445] 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 {
[241/445] Compiling SourceReporter CallbackReporter.swift
[242/445] Compiling SourceReporter Report.swift
[243/445] Compiling SourceReporter CompositeReporter.swift
[244/446] Compiling SwiftIndexStore UnfairLock.swift
[244/446] Wrapping AST for ArgumentParser for debugging
[246/446] Wrapping AST for SourceReporter for debugging
[248/446] Compiling SwiftIndexStore Process+Extension.swift
[249/446] Compiling SwiftIndexStore SwiftIndexStore.swift
[250/446] Compiling ArgumentParser ZshCompletionsGenerator.swift
[251/446] Compiling ArgumentParser Argument.swift
[252/446] Compiling ArgumentParser ArgumentDiscussion.swift
[253/446] Compiling ArgumentParser ArgumentHelp.swift
BUILD FAILURE 6.2 android