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 (8644fa), with Swift 6.2 (beta) for Android on 23 Jun 2025 19:48:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/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 8644faa Merge pull request #19 from p-x9/feature/setup-ci
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
8644faa05592288e54ac5a16bd4471929242d96c
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-4606859-3":/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/kateinoigakukun/swift-indexstore.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/323] Fetching swift-indexstore
[324/11243] Fetching swift-indexstore, yams
[980/26623] Fetching swift-indexstore, yams, swift-argument-parser
[18198/97544] Fetching swift-indexstore, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (2.46s)
[51123/97221] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.49s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.49s)
[25532/70921] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.25s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.3.0 (8.71s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.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.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.59s)
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.5.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/kateinoigakukun/swift-indexstore.git
Working copy of https://github.com/kateinoigakukun/swift-indexstore.git resolved at 0.3.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.path.string
    |                 |- 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
Building for debugging...
[3/88] Write sources
[17/88] Compiling _SwiftSyntaxCShims dummy.c
[17/88] Write sources
[21/88] Compiling _CIndexStore dummy.c
[22/88] Write swift-version-8C5A4AE7A8CE2BA.txt
[23/88] Compiling _SwiftSyntaxCShims dummy.c
[24/88] Compiling writer.c
[25/88] Compiling reader.c
[26/88] Compiling _CIndexStore dummy.c
[27/88] Compiling parser.c
[29/106] Emitting module SwiftSyntax600
[29/106] Compiling scanner.c
[30/108] Compiling api.c
[31/108] Write sources
[35/110] Compiling emitter.c
[35/110] Write sources
[46/110] Emitting module SwiftSyntax601
[46/110] Compiling writer.c
[48/130] Emitting module SwiftSyntax601
[49/130] Compiling SwiftSyntax601 Empty.swift
[50/131] Compiling SwiftSyntax510 Empty.swift
[51/131] Emitting module SwiftSyntax510
[52/131] Compiling Yams Tag.swift
[53/131] Compiling Yams YamlAnchorProviding.swift
[54/134] Compiling SwiftSyntax600 Empty.swift
[58/135] Emitting module SwiftSyntax509
[59/135] Emitting module ArgumentParserToolInfo
[60/135] Compiling ArgumentParserToolInfo ToolInfo.swift
[61/135] Compiling SwiftSyntax509 Empty.swift
[64/143] Compiling Yams AliasDereferencingStrategy.swift
[65/143] Compiling Yams Anchor.swift
[66/218] Emitting module SwiftSyntax600
[67/218] Compiling SwiftSyntax600 Empty.swift
[68/219] Compiling SwiftSyntax601 Empty.swift
[69/220] Compiling SwiftSyntax510 Empty.swift
[70/220] Emitting module SwiftSyntax510
[71/221] Compiling SwiftSyntax509 Empty.swift
[72/221] Emitting module SwiftSyntax509
[77/222] Compiling SwiftSyntax Assert.swift
[78/222] Compiling SwiftSyntax BumpPtrAllocator.swift
[79/222] Compiling SwiftSyntax CommonAncestor.swift
[79/222] Wrapping AST for SwiftSyntax601 for debugging
[80/222] Wrapping AST for SwiftSyntax510 for debugging
[81/222] Wrapping AST for SwiftSyntax600 for debugging
[82/244] Wrapping AST for SwiftSyntax509 for debugging
[83/260] Wrapping AST for ArgumentParserToolInfo for debugging
[84/260] Wrapping AST for SwiftSyntax601 for debugging
[85/260] Wrapping AST for SwiftSyntax600 for debugging
[86/284] Wrapping AST for SwiftSyntax509 for debugging
[87/292] Wrapping AST for SwiftSyntax510 for debugging
[88/324] Compiling reader.c
[89/324] Compiling parser.c
[90/324] Compiling scanner.c
[91/324] Compiling api.c
[91/324] Write sources
[94/326] Compiling emitter.c
[96/346] Emitting module ArgumentParserToolInfo
[97/346] Compiling SwiftSyntax SyntaxNodeFactory.swift
[98/346] Compiling SwiftSyntax SyntaxNodeStructure.swift
[99/346] Compiling SwiftIndexStore UnfairLock.swift
[100/346] Compiling SwiftIndexStore OptionSetDisplayable.swift
[101/346] Compiling SwiftIndexStore Process+Extension.swift
[102/346] Compiling Yams Resolver.swift
[103/346] Compiling Yams String+Yams.swift
[104/346] Emitting module ArgumentParser
[105/351] Compiling SwiftIndexStore IndexStoreUnit.swift
[106/351] Compiling SwiftIndexStore LibIndexStore.swift
[107/351] Emitting module SwiftIndexStore
[108/351] Compiling Yams Constructor.swift
[109/351] Compiling Yams Decoder.swift
[110/351] Compiling Yams AliasDereferencingStrategy.swift
[111/351] Compiling Yams Anchor.swift
[113/351] Compiling Yams Parser.swift
[114/351] Compiling Yams RedundancyAliasingStrategy.swift
[115/351] Compiling Yams Representer.swift
[116/351] Compiling Yams Node.Scalar.swift
[117/351] Compiling Yams Node.Sequence.swift
[118/351] Compiling Yams Node.swift
[119/351] Compiling SwiftIndexStore SwiftIndexStore.swift
[125/352] Compiling Yams Emitter.swift
[126/352] Compiling Yams Encoder.swift
[127/352] Compiling Yams Mark.swift
[128/352] Compiling Yams Node.Alias.swift
[129/352] Compiling Yams Node.Mapping.swift
[129/361] Wrapping AST for SwiftIndexStore for debugging
[131/361] Emitting module Yams
[135/362] Wrapping AST for Yams for debugging
[137/362] Compiling ArgumentParserToolInfo ToolInfo.swift
[138/363] Wrapping AST for ArgumentParserToolInfo for debugging
[140/401] Compiling ArgumentParser BashCompletionsGenerator.swift
[141/401] Compiling ArgumentParser CompletionsGenerator.swift
[142/401] Compiling ArgumentParser FishCompletionsGenerator.swift
[143/401] Compiling ArgumentParser ZshCompletionsGenerator.swift
[144/401] Compiling ArgumentParser Argument.swift
[145/401] Compiling ArgumentParser ArgumentHelp.swift
[146/401] Compiling ArgumentParser ParsableArguments.swift
[147/401] Compiling ArgumentParser ParsableArgumentsValidation.swift
[148/401] Compiling ArgumentParser ParsableCommand.swift
[149/401] Compiling ArgumentParser ArgumentDecoder.swift
[150/401] Compiling ArgumentParser ArgumentDefinition.swift
[151/401] Compiling ArgumentParser ArgumentSet.swift
[152/401] Compiling ArgumentParser CommandParser.swift
[153/401] Compiling ArgumentParser InputKey.swift
[154/401] Compiling ArgumentParser InputOrigin.swift
[155/401] Compiling ArgumentParser CollectionExtensions.swift
[156/401] Compiling ArgumentParser Platform.swift
[157/401] Compiling ArgumentParser SequenceExtensions.swift
[158/401] Compiling ArgumentParser StringExtensions.swift
[159/401] Compiling ArgumentParser Tree.swift
[160/401] Compiling ArgumentParser ArgumentVisibility.swift
[161/401] Compiling ArgumentParser CompletionKind.swift
[162/401] Compiling ArgumentParser Errors.swift
[163/401] Compiling ArgumentParser Flag.swift
[164/401] Compiling ArgumentParser NameSpecification.swift
[165/401] Compiling ArgumentParser DumpHelpGenerator.swift
[166/401] Compiling ArgumentParser HelpCommand.swift
[167/401] Compiling ArgumentParser HelpGenerator.swift
[168/401] Compiling ArgumentParser MessageInfo.swift
[169/401] Compiling ArgumentParser UsageGenerator.swift
[170/401] Compiling ArgumentParser Name.swift
[171/401] Compiling ArgumentParser Parsed.swift
[172/401] Compiling ArgumentParser ParsedValues.swift
[173/401] Compiling ArgumentParser ParserError.swift
[174/401] Compiling ArgumentParser SplitArguments.swift
[175/401] Compiling ArgumentParser EnumerableFlag.swift
[176/401] Compiling ArgumentParser ExpressibleByArgument.swift
[186/401] Compiling ArgumentParser Option.swift
[187/401] Compiling ArgumentParser OptionGroup.swift
[188/401] Compiling ArgumentParser AsyncParsableCommand.swift
[189/401] Compiling ArgumentParser CommandConfiguration.swift
[190/401] Compiling ArgumentParser CommandGroup.swift
[191/402] Wrapping AST for ArgumentParser for debugging
[228/417] Emitting module ArgumentParser
[242/419] Compiling SwiftIndexStore UnfairLock.swift
[258/419] Compiling Yams YamlError.swift
[259/419] Compiling Yams YamlTagProviding.swift
[266/419] Compiling SwiftIndexStore IndexStoreUnit.swift
[267/419] 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 |             }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[270/419] 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 {
[275/419] Compiling ArgumentParser CollectionExtensions.swift
[276/419] Compiling ArgumentParser Platform.swift
[277/419] Compiling ArgumentParser SequenceExtensions.swift
[278/419] Compiling ArgumentParser StringExtensions.swift
[279/419] Compiling ArgumentParser Tree.swift
[281/420] Compiling SwiftIndexStore OptionSetDisplayable.swift
[282/420] Compiling SwiftIndexStore SwiftIndexStore.swift
[283/420] Compiling SwiftIndexStore Process+Extension.swift
[284/420] Emitting module Yams
BUILD FAILURE 6.2 android