The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Selfish, reference master (8267a4), with Swift 6.4 for Android on 16 Sep 2026 10:20:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jpsim/selfish.git
Reference: master
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/jpsim/selfish
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8267a4e Release 0.0.12
Cloned https://github.com/jpsim/selfish.git
Revision (git rev-parse @):
8267a4e26c8a0c04c2ec1cc80ae5c3a43597003a
SUCCESS checkout https://github.com/jpsim/selfish.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jpsim/selfish.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/jpsim/Yams.git
[1/11861] Fetching yams
[8304/28193] Fetching yams, sourcekitten
Fetched https://github.com/jpsim/Yams.git (1.35s)
[11270/16332] Fetching sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git (1.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (2.73s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.18s)
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2865] Fetching swxmlhash
[403/5194] Fetching swxmlhash, commandant
Fetched https://github.com/Carthage/Commandant.git (0.46s)
Fetched https://github.com/drmohundro/SWXMLHash.git (0.46s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.65s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14925] Fetching quick
[14926/34911] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (1.04s)
Fetched https://github.com/Quick/Nimble.git (1.04s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (1.23s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.19s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.19s)
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 217]
[Starting]
[60 / 86] SWXMLHash
[64 / 96] Yams
[66 / 96] CYaml
[68 / 96] Yams
[79 / 96] Yams
[80 / 96] Yams
[81 / 96] Yams
[82 / 97]
[84 / 106] SourceKittenFramework
[85 / 106] SourceKittenFramework
[95 / 107] Yams
[97 / 107] Yams
[98 / 108] SourceKittenFramework-product
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile library_wrapper.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/ByteCount.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/ByteRange.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Clang+SourceKitten.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/ClangTranslationUnit.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/CodeCompletionItem.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/CursorInfo+Parsing.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Dictionary+Merge.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Documentation.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Exec.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/File+Hashable.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/File.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/JSONOutput.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Language.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Line.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/LinuxCompatibility.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Module.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/ObjCDeclarationKind.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/OffsetMap.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Parameter.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SourceDeclaration.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SourceKitObject.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SourceLocation.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/StatementKind.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/String+SourceKitten.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/StringView+SourceKitten.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/StringView.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Structure.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDeclarationAttributeKind.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDeclarationKind.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocKey.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftVersion.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxKind.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxMap.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SyntaxToken.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Text.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/UID.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/UIDRepresentable.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Version.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Xcode.swift /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/XcodeBuildSetting.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper_CXString.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper_Documentation.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper_Index.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper_sourcekitd.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/supplementaryOutputs-8 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CYaml.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/SourceKit.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/Clang_C.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKit/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/Clang_C/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SourceKittenFramework -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/SourceKittenFramework_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_CXString.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_Documentation.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_Index.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_sourcekitd.o -index-unit-output-path /SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper.o -index-unit-output-path /SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_CXString.o -index-unit-output-path /SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_Documentation.o -index-unit-output-path /SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_Index.o -index-unit-output-path /SourceKitten.build/Debug-android-aarch64/SourceKittenFramework-t.build/Objects-normal/aarch64/library_wrapper_sourcekitd.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android