The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SemiSingleton, reference 2.1.1 (b3b6b2), with Swift 6.4 for Android on 21 Sep 2026 13:35:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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/Frizlab/SemiSingleton.git
Reference: 2.1.1
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/Frizlab/SemiSingleton
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at b3b6b28 Fix dispatch queue name for the retrievingQueue
Cloned https://github.com/Frizlab/SemiSingleton.git
Revision (git rev-parse @):
b3b6b283289e4d717b01064e497b2cae0a9a75df
SUCCESS checkout https://github.com/Frizlab/SemiSingleton.git at 2.1.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Frizlab/SemiSingleton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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/Frizlab/GlobalConfModule.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/RecursiveSyncDispatch.git
Fetching https://github.com/Frizlab/SafeGlobal.git
[1/174] Fetching recursivesyncdispatch
[62/8270] Fetching recursivesyncdispatch, swift-log
[176/8464] Fetching recursivesyncdispatch, swift-log, safeglobal
Fetched https://github.com/Frizlab/RecursiveSyncDispatch.git (0.45s)
Fetched https://github.com/Frizlab/SafeGlobal.git (0.45s)
[405/8096] Fetching swift-log
[2430/8773] Fetching swift-log, globalconfmodule
Fetched https://github.com/Frizlab/GlobalConfModule.git (0.52s)
Fetched https://github.com/apple/swift-log.git (0.54s)
Computing version for https://github.com/Frizlab/RecursiveSyncDispatch.git
Computed https://github.com/Frizlab/RecursiveSyncDispatch.git at 1.0.1 (1.59s)
Computing version for https://github.com/Frizlab/SafeGlobal.git
Computed https://github.com/Frizlab/SafeGlobal.git at 0.3.5 (0.16s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/79999] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (2.93s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.5 (3.12s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.99s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.17s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Creating working copy for https://github.com/Frizlab/RecursiveSyncDispatch.git
Working copy of https://github.com/Frizlab/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/Frizlab/SafeGlobal.git
Working copy of https://github.com/Frizlab/SafeGlobal.git resolved at 0.3.5
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 769]
[Planning deferred tasks]
[173 / 352] SwiftSyntax509
[209 / 352] ServiceContextModule
[215 / 352] SwiftSyntax
[216 / 352] SwiftSyntax600
[239 / 367] Logging
[242 / 377] SwiftSyntax602
[244 / 378] ServiceContextModule
[248 / 379] SwiftSyntax602
[250 / 379] SwiftSyntax602
[257 / 379] SwiftSyntax
[259 / 379] SwiftSyntax
[260 / 380] ServiceContextModule
[264 / 380] ServiceContextModule
[267 / 380] RecursiveSyncDispatch
[268 / 380] RecursiveSyncDispatch
[270 / 380] Logging-product
[271 / 380] Logging
[274 / 381] SwiftSyntax
[287 / 409] SwiftParser
[288 / 409] SwiftDiagnostics
[293 / 409] SwiftDiagnostics
[301 / 409] SwiftParser
[303 / 409] SwiftParser
[305 / 409] SwiftParser
[310 / 409] SwiftParser
[313 / 409] SwiftDiagnostics
[314 / 409] SwiftOperators
[318 / 409] SwiftDiagnostics
[319 / 409] SwiftBasicFormat
[323 / 410] SwiftDiagnostics
[327 / 420] SwiftParserDiagnostics
[328 / 420] SwiftParserDiagnostics
[328 / 420] SwiftParser
[332 / 422] SwiftParserDiagnostics
[335 / 422] SwiftParserDiagnostics
[339 / 422] SwiftParserDiagnostics
[344 / 424] SwiftOperators
[347 / 442] SwiftSyntaxBuilder
[347 / 442] SwiftParserDiagnostics
[351 / 442] SwiftSyntaxBuilder
[355 / 442] SwiftOperators
[361 / 442] SwiftSyntaxBuilder
[366 / 442] SwiftSyntaxBuilder
[369 / 442] SwiftOperators
[373 / 442] SwiftOperators
[374 / 443] SwiftParserDiagnostics
[379 / 453] SwiftIfConfig
[380 / 453] SwiftIfConfig
[381 / 453] SwiftIfConfig
[382 / 454] SwiftOperators
[385 / 455] SwiftOperators
[391 / 455] SwiftIfConfig
[398 / 465] SwiftSyntaxMacros
[401 / 465] SwiftSyntaxMacros
[407 / 465] SwiftSyntaxMacros
[415 / 475] SwiftSyntaxMacroExpansion
[418 / 476] SwiftSyntaxMacroExpansion
[421 / 477] SwiftSyntaxMacroExpansion
[432 / 487] SwiftCompilerPluginMessageHandling
[434 / 487] SwiftCompilerPluginMessageHandling
[435 / 487] SwiftCompilerPluginMessageHandling
[437 / 487] SwiftCompilerPluginMessageHandling
[439 / 487] SwiftCompilerPluginMessageHandling
[446 / 490] SwiftCompilerPlugin
[446 / 490] SwiftCompilerPluginMessageHandling
[452 / 491] SwiftCompilerPlugin
[453 / 491] SwiftCompilerPluginMessageHandling
[455 / 492] SwiftCompilerPluginMessageHandling
[457 / 493] SwiftSyntax
[460 / 494] SwiftSyntax
[467 / 494] SwiftIfConfig
[476 / 495] GlobalConfMacros
[485 / 504] GlobalConfMacros
[486 / 504] GlobalConfMacros
[490 / 505] GlobalConfMacros
[500 / 515] GlobalConfModule
[500 / 516] GlobalConfModule
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SemiSingleton/LinuxStrongToWeakMapTable.swift /host/spi-builder-workspace/Sources/SemiSingleton/SemiSingletonConfig.swift /host/spi-builder-workspace/Sources/SemiSingleton/SemiSingletonStore.swift -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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/GlobalConfMacros\#GlobalConfMacros -enable-experimental-feature StrictConcurrency -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 -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/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SemiSingleton -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/Modules/SemiSingleton.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/Modules/SemiSingleton.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Deb[513 / 521] SemiSingleton
ug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/Modules/SemiSingleton.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android