The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SemiSingleton, reference 2.1.0-beta.1 (a2bbad), with Swift 6.2 (beta) for Android on 20 Jun 2025 10:42:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/happn-app/SemiSingleton.git
Reference: 2.1.0-beta.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/happn-app/SemiSingleton
 * tag               2.1.0-beta.1 -> FETCH_HEAD
HEAD is now at a2bbad0 Dummy comment formatting fixes
Cloned https://github.com/happn-app/SemiSingleton.git
Revision (git rev-parse @):
a2bbad008641318f3f7faf2ec53e3bb8f0e080ff
SUCCESS checkout https://github.com/happn-app/SemiSingleton.git at 2.1.0-beta.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/happn-app/SemiSingleton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/swift-log.git
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
[179/4014] Fetching recursivesyncdispatch, swift-log
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.31s)
Fetched https://github.com/apple/swift-log.git from cache (1.00s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (1.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.93s)
Creating working copy for https://github.com/happn-app/RecursiveSyncDispatch.git
Working copy of https://github.com/happn-app/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/11] Compiling Logging MetadataProvider.swift
[6/11] Emitting module RecursiveSyncDispatch
[7/11] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[8/12] Compiling Logging LogHandler.swift
[9/12] Emitting module Logging
[10/12] Compiling Logging Locks.swift
[11/12] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/17] Compiling SemiSingleton SemiSingletonConfig.swift
[15/17] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[16/17] Emitting module SemiSingleton
/host/spi-builder-workspace/Sources/SemiSingleton/SemiSingletonStore.swift:226:34: error: cannot find 'NSMapTable' in scope
224 |
225 | #if !os(Linux)
226 | 	private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
227 | #else
228 | 	private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[17/17] Compiling SemiSingleton SemiSingletonStore.swift
/host/spi-builder-workspace/Sources/SemiSingleton/SemiSingletonStore.swift:226:34: error: cannot find 'NSMapTable' in scope
224 |
225 | #if !os(Linux)
226 | 	private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
227 | #else
228 | 	private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
BUILD FAILURE 6.2 android