The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SemiSingleton, reference 2.1.1 (b3b6b2), with Swift 6.3 for Android on 15 Apr 2026 09:44:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/Frizlab/SemiSingleton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-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
[176/361] Fetching recursivesyncdispatch, safeglobal
[362/1030] Fetching recursivesyncdispatch, safeglobal, globalconfmodule
Fetched https://github.com/Frizlab/GlobalConfModule.git from cache (0.31s)
Fetched https://github.com/Frizlab/RecursiveSyncDispatch.git from cache (0.31s)
[1/6565] Fetching swift-log
Fetched https://github.com/Frizlab/SafeGlobal.git from cache (0.56s)
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Computing version for https://github.com/Frizlab/RecursiveSyncDispatch.git
Computed https://github.com/Frizlab/RecursiveSyncDispatch.git at 1.0.1 (3.54s)
Computing version for https://github.com/Frizlab/SafeGlobal.git
Computed https://github.com/Frizlab/SafeGlobal.git at 0.3.4 (0.56s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74972] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.46s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.4 (10.13s)
Fetching https://github.com/apple/swift-service-context.git
[1/1245] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.31s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.72s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (2.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.38s)
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.4
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.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.66s)
Building for debugging...
[0/10] Write sources
[6/10] Write swift-version--4F562202D5529B1.txt
[8/29] Compiling ServiceContextModule ServiceContextKey.swift
[9/29] Compiling ServiceContextModule ServiceContext.swift
[10/29] Emitting module ServiceContextModule
[12/30] Compiling Logging MetadataProvider.swift
[13/30] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[14/30] Emitting module RecursiveSyncDispatch
[16/31] Compiling Logging LogHandler.swift
[17/31] Compiling Logging LogEvent.swift
[18/31] Emitting module Logging
[19/31] Compiling Logging Locks.swift
[20/31] Compiling Logging Logging.swift
[22/32] Compiling GlobalConfMacros Optional+Utils.swift
[23/33] Emitting module GlobalConfMacros
[24/33] Compiling GlobalConfMacros  Errors.swift
[25/33] Compiling GlobalConfMacros DeclareConfNamespaceMacro.swift
[26/33] Compiling GlobalConfMacros Entrypoint.swift
[27/33] Compiling GlobalConfMacros LabeledExprSyntax+Utils.swift
[28/33] Compiling GlobalConfMacros DeclareConfAccessorMacro.swift
[29/33] Compiling GlobalConfMacros DeclareConfMacro.swift
[30/33] Compiling GlobalConfMacros SimpleDiagnosticMessage.swift
[31/34] Wrapping AST for GlobalConfMacros for debugging
[32/34] Write Objects.LinkFileList
[33/34] Linking GlobalConfMacros-tool
[35/56] Compiling GlobalConfModule ConfContext+ConfKey.swift
[36/56] Compiling GlobalConfModule ConfContext+ConfKeyMainActor.swift
[37/56] Compiling GlobalConfModule ConfContext.swift
[38/58] Compiling GlobalConfModule InjectedConf.swift
[39/58] Compiling GlobalConfModule 1-ConfKey.swift
[40/58] Compiling GlobalConfModule 2-ServiceKey.swift
[41/58] Emitting module GlobalConfModule
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[42/58] Compiling GlobalConfModule ConfKey.swift
[43/58] Compiling GlobalConfModule ConfKeyMainActor.swift
[44/58] Compiling GlobalConfModule ConfKeys.swift
[45/58] Compiling GlobalConfModule InjectedConf+AutoInjectableMainActor.swift
[46/58] Compiling GlobalConfModule InjectedConf+ConfKey.swift
[47/58] Compiling GlobalConfModule InjectedConf+ConfKeyMainActor.swift
[48/58] Compiling GlobalConfModule AutoInjectable.swift
[49/58] Compiling GlobalConfModule AutoInjectableMainActor.swift
[50/58] Compiling GlobalConfModule InjectedConf+AutoInjectable.swift
[51/58] Compiling GlobalConfModule Conf.swift
[52/58] Compiling GlobalConfModule ConfContext+AutoInjectable.swift
[53/58] Compiling GlobalConfModule ConfContext+AutoInjectableMainActor.swift
[54/58] Compiling GlobalConfModule Conf+ConfKey.swift
[55/58] Compiling GlobalConfModule Conf+ConfKeyMainActor.swift
[56/58] Compiling GlobalConfModule Conf+withValues.swift
[57/58] Compiling GlobalConfModule 3-NamespaceKey.swift
[58/58] Compiling GlobalConfModule 4-AccessorConvenience.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/63] Emitting module SemiSingleton
/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>()
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[61/63] Compiling SemiSingleton SemiSingletonConfig.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[62/63] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[63/63] Compiling SemiSingleton SemiSingletonStore.swift
/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>()
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
BUILD FAILURE 6.3 android