Build Information
Failed to build swift-weak-self-check, reference 0.6.0 (416d56
), with Swift 6.2 (beta) for Android on 23 Jun 2025 19:49:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 0.6.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.6.0 -> FETCH_HEAD
HEAD is now at 416d56e Merge pull request #16 from p-x9/feature/swift-syntax-601
Cloned https://github.com/p-x9/swift-weak-self-check.git
Revision (git rev-parse @):
416d56e95821fe52b65abe40d40250ee1ad317c0
SUCCESS checkout https://github.com/p-x9/swift-weak-self-check.git at 0.6.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" 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/10935] Fetching yams
[2/11258] Fetching yams, swift-indexstore
[1965/26638] Fetching yams, swift-indexstore, swift-argument-parser
[18773/97559] Fetching yams, swift-indexstore, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.79s)
[33244/82179] Fetching yams, swift-indexstore, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.87s)
[23727/71244] Fetching swift-indexstore, swift-syntax
Fetched https://github.com/kateinoigakukun/swift-indexstore.git from cache (9.20s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.30s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore.git
Computed https://github.com/kateinoigakukun/swift-indexstore.git at 0.3.0 (10.57s)
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.72s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.97s)
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/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/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/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
/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
[19/88] Compiling _SwiftSyntaxCShims dummy.c
[20/88] Compiling _CIndexStore dummy.c
[20/88] Write sources
[24/88] Compiling _SwiftSyntaxCShims dummy.c
[25/88] Compiling writer.c
[25/88] Write sources
[37/88] Compiling _CIndexStore dummy.c
[38/88] Compiling reader.c
[39/88] Write swift-version-8C5A4AE7A8CE2BA.txt
[40/88] Compiling writer.c
[41/88] Compiling parser.c
[42/88] Compiling reader.c
[43/88] Compiling api.c
[44/96] Compiling emitter.c
[45/96] Compiling parser.c
[47/96] Emitting module SwiftSyntax600
[47/97] Compiling scanner.c
[49/100] Emitting module SwiftSyntax510
[50/102] Compiling scanner.c
[52/122] Compiling SwiftSyntax601 Empty.swift
[53/122] Emitting module SwiftSyntax601
[54/122] Emitting module SwiftSyntax600
[55/122] Compiling SwiftSyntax600 Empty.swift
[56/124] Emitting module SwiftSyntax509
[57/124] Compiling SwiftSyntax509 Empty.swift
[58/124] Compiling Yams Tag.swift
[59/124] Compiling Yams YamlAnchorProviding.swift
[60/127] Compiling SwiftSyntax510 Empty.swift
[61/127] Compiling SwiftSyntax600 Empty.swift
[66/129] Compiling Yams Mark.swift
[67/129] Compiling Yams Node.Alias.swift
[68/129] Compiling Yams Node.Mapping.swift
[69/129] Compiling SwiftSyntax510 Empty.swift
[71/130] Emitting module SwiftSyntax601
[72/130] Compiling SwiftSyntax601 Empty.swift
[73/131] Wrapping AST for SwiftSyntax600 for debugging
[75/133] Wrapping AST for SwiftSyntax509 for debugging
[76/155] Wrapping AST for SwiftSyntax510 for debugging
[78/155] Emitting module SwiftSyntax509
[79/155] Compiling SwiftSyntax509 Empty.swift
[79/156] Wrapping AST for SwiftSyntax601 for debugging
[82/193] Wrapping AST for SwiftSyntax600 for debugging
[83/218] Wrapping AST for SwiftSyntax510 for debugging
[84/220] Wrapping AST for SwiftSyntax509 for debugging
[85/284] Compiling api.c
[85/284] Write sources
[88/284] Compiling emitter.c
[90/306] Compiling ArgumentParserToolInfo ToolInfo.swift
[91/306] Emitting module ArgumentParserToolInfo
[94/345] Compiling ArgumentParserToolInfo ToolInfo.swift
[96/384] Compiling ArgumentParser BashCompletionsGenerator.swift
[97/384] Compiling ArgumentParser CompletionsGenerator.swift
[98/385] Compiling ArgumentParser FishCompletionsGenerator.swift
[99/385] Compiling ArgumentParser ZshCompletionsGenerator.swift
[100/385] Emitting module SwiftIndexStore
[101/385] Compiling SwiftIndexStore OptionSetDisplayable.swift
[102/385] Compiling ArgumentParser OptionGroup.swift
[103/385] Compiling ArgumentParser AsyncParsableCommand.swift
[104/385] Compiling ArgumentParser CommandParser.swift
[105/385] Compiling ArgumentParser InputKey.swift
[106/385] Compiling ArgumentParser CommandConfiguration.swift
[107/385] Compiling ArgumentParser CommandGroup.swift
[108/385] Compiling ArgumentParser EnumerableFlag.swift
[109/385] Compiling ArgumentParser Flag.swift
[110/385] Compiling ArgumentParser NameSpecification.swift
[111/385] Compiling ArgumentParser Option.swift
[115/385] Emitting module Yams
[116/385] Compiling ArgumentParser ArgumentVisibility.swift
[117/385] Compiling ArgumentParser CompletionKind.swift
[118/385] Compiling ArgumentParser Errors.swift
[119/386] Compiling SwiftIndexStore IndexStoreUnit.swift
[120/386] Compiling SwiftIndexStore LibIndexStore.swift
[122/386] Compiling SwiftIndexStore SwiftIndexStore.swift
[123/386] Compiling SwiftIndexStore Process+Extension.swift
[124/386] Compiling SwiftIndexStore UnfairLock.swift
[124/387] Wrapping AST for Yams for debugging
[126/387] Wrapping AST for ArgumentParserToolInfo for debugging
[128/387] Wrapping AST for SwiftIndexStore for debugging
[142/394] Compiling ArgumentParser Argument.swift
[143/394] Compiling ArgumentParser ArgumentHelp.swift
[147/403] Emitting module ArgumentParser
[154/403] Compiling ArgumentParser Name.swift
[155/403] Compiling ArgumentParser Parsed.swift
[156/403] Compiling ArgumentParser ParsedValues.swift
[157/403] Compiling ArgumentParser ParserError.swift
[158/403] Compiling ArgumentParser SplitArguments.swift
[159/403] Compiling ArgumentParser DumpHelpGenerator.swift
[160/403] Compiling ArgumentParser HelpCommand.swift
[161/403] Compiling ArgumentParser HelpGenerator.swift
[162/403] Compiling ArgumentParser MessageInfo.swift
[163/403] Compiling ArgumentParser UsageGenerator.swift
[171/404] Compiling ArgumentParser ArgumentDefinition.swift
[172/404] Compiling ArgumentParser ArgumentSet.swift
[173/404] Compiling Yams YamlError.swift
[174/404] Compiling Yams YamlTagProviding.swift
[175/404] Compiling ArgumentParser InputOrigin.swift
[176/404] Compiling ArgumentParser ExpressibleByArgument.swift
[177/404] Compiling ArgumentParser ParsableArguments.swift
[178/404] Compiling ArgumentParser ParsableArgumentsValidation.swift
[179/404] Compiling ArgumentParser ParsableCommand.swift
[180/404] Compiling ArgumentParser ArgumentDecoder.swift
[181/404] Compiling ArgumentParser CollectionExtensions.swift
[182/404] Compiling ArgumentParser Platform.swift
[183/404] Compiling ArgumentParser SequenceExtensions.swift
[184/404] Compiling ArgumentParser StringExtensions.swift
[185/404] Compiling ArgumentParser Tree.swift
[193/410] Emitting module ArgumentParser
[217/410] Wrapping AST for ArgumentParser for debugging
[261/419] Compiling ArgumentParser CollectionExtensions.swift
[262/419] Compiling ArgumentParser Platform.swift
[263/419] Compiling ArgumentParser SequenceExtensions.swift
[264/419] Compiling ArgumentParser StringExtensions.swift
[265/419] Compiling ArgumentParser Tree.swift
[269/419] Compiling SwiftIndexStore IndexStoreUnit.swift
[270/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 | }
[274/419] Compiling SwiftIndexStore UnfairLock.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[277/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 {
[285/419] Compiling SwiftIndexStore OptionSetDisplayable.swift
[286/419] Compiling SwiftIndexStore Process+Extension.swift
[287/419] Compiling SwiftIndexStore SwiftIndexStore.swift
[299/420] Emitting module Yams
BUILD FAILURE 6.2 android