The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SemiSingleton, reference main (dc4e36), with Swift 6.4 for Android on 21 Sep 2026 13:34:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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/Frizlab/SemiSingleton.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/Frizlab/SemiSingleton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dc4e36b Dummy code formatting change
Cloned https://github.com/Frizlab/SemiSingleton.git
Revision (git rev-parse @):
dc4e36b23ad96043f05d893cb72245cdf2f74076
SUCCESS checkout https://github.com/Frizlab/SemiSingleton.git at main
========================================
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-53886770-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/apple/swift-log.git
Fetching https://github.com/Frizlab/SafeGlobal.git
Fetching https://github.com/Frizlab/RecursiveSyncDispatch.git
Fetching https://github.com/Frizlab/GlobalConfModule.git
[1/174] Fetching recursivesyncdispatch
[175/368] Fetching recursivesyncdispatch, safeglobal
[369/1045] Fetching recursivesyncdispatch, safeglobal, globalconfmodule
[417/9141] Fetching recursivesyncdispatch, safeglobal, globalconfmodule, swift-log
Fetched https://github.com/Frizlab/SafeGlobal.git (0.52s)
Fetched https://github.com/Frizlab/RecursiveSyncDispatch.git (0.52s)
Fetched https://github.com/Frizlab/GlobalConfModule.git (0.52s)
[486/8096] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.70s)
Computing version for https://github.com/Frizlab/RecursiveSyncDispatch.git
Computed https://github.com/Frizlab/RecursiveSyncDispatch.git at 1.0.1 (1.75s)
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 (3.21s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.5 (3.39s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (1.43s)
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.62s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.32s)
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/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/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/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
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/Frizlab/RecursiveSyncDispatch.git
Working copy of https://github.com/Frizlab/RecursiveSyncDispatch.git resolved at 1.0.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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 769]
[Planning deferred tasks]
[171 / 347] _SwiftSyntaxCShims
[209 / 352] SwiftSyntax
[211 / 352] ServiceContextModule
[212 / 352] SwiftSyntax600
[239 / 359] Logging
[243 / 368] Logging
[245 / 369] SwiftSyntax
[247 / 378] ServiceContextModule
[249 / 379] SwiftSyntax602
[251 / 379] SwiftSyntax
[253 / 379] SwiftSyntax
[254 / 379] Logging
[257 / 379] Logging
[262 / 380] SwiftSyntax
[264 / 380] RecursiveSyncDispatch
[270 / 380] Logging
[271 / 380] Logging
[274 / 381] SwiftSyntax
[287 / 409] SwiftParser
[287 / 409] SwiftBasicFormat
[299 / 409] SwiftParser
[301 / 409] SwiftParser
[302 / 409] SwiftParser
[305 / 409] SwiftParser
[310 / 409] SwiftSyntax
[312 / 409] SwiftDiagnostics
[314 / 409] SwiftOperators
[317 / 409] SwiftDiagnostics
[319 / 409] SwiftBasicFormat
[321 / 409] SwiftParserDiagnostics
[328 / 422] SwiftOperators
[330 / 430] SwiftParserDiagnostics
[333 / 431] SwiftOperators
[339 / 431] SwiftParserDiagnostics
[344 / 431] SwiftSyntaxBuilder
[347 / 432] SwiftParser
[351 / 432] SwiftOperators
[355 / 432] SwiftOperators
[357 / 432] SwiftBasicFormat
[361 / 442] SwiftSyntaxBuilder
[362 / 442] SwiftSyntaxBuilder
[364 / 443] SwiftSyntaxBuilder
[365 / 443] SwiftSyntaxBuilder
[369 / 443] SwiftSyntaxBuilder
[373 / 443] SwiftSyntaxBuilder
[379 / 454] SwiftSyntaxBuilder
[382 / 454] SwiftIfConfig
[385 / 454] SwiftIfConfig
[386 / 455] SwiftSyntaxBuilder
[391 / 455] SwiftIfConfig
[399 / 465] SwiftSyntaxMacros
[401 / 465] SwiftSyntaxMacros
[410 / 466] SwiftSyntaxMacros
[416 / 476] SwiftSyntaxMacros
[419 / 477] SwiftSyntaxMacros
[422 / 477] SwiftIfConfig
[432 / 487] SwiftCompilerPluginMessageHandling
[434 / 487] SwiftCompilerPluginMessageHandling
[435 / 487] SwiftCompilerPluginMessageHandling
[437 / 487] SwiftCompilerPluginMessageHandling
[446 / 490] SwiftCompilerPlugin
[451 / 490] SwiftSyntaxMacroExpansion
[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
[506 / 517] SemiSingleton
[511 / 521] 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/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/Modules/SemiSingleton.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android