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 URLRequestOperation, reference main (cafea3), with Swift 6.2 (beta) for Android on 20 Jun 2025 18:48:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/URLRequestOperation.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/happn-app/URLRequestOperation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cafea35 Merge pull request #7 from happn-app/remove_async_operation_result
Cloned https://github.com/happn-app/URLRequestOperation.git
Revision (git rev-parse @):
cafea350e06f73dfd82f20f926088fb62aed0eec
SUCCESS checkout https://github.com/happn-app/URLRequestOperation.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/happn-app/URLRequestOperation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/happn-app/SemiSingleton.git
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/apple/swift-log.git
[4/395] Fetching retryingoperation
[120/816] Fetching retryingoperation, semisingleton
[541/4652] Fetching retryingoperation, semisingleton, swift-log
Fetched https://github.com/happn-app/SemiSingleton.git from cache (0.48s)
[1117/4231] Fetching retryingoperation, swift-log
Fetched https://github.com/happn-app/RetryingOperation.git from cache (0.74s)
Fetched https://github.com/apple/swift-log.git from cache (0.74s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (2.40s)
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.39s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (1.36s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.0.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.6.3
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/happn-app/RetryingOperation.git
Working copy of https://github.com/happn-app/RetryingOperation.git resolved at 1.1.8
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/22] Compiling Logging Locks.swift
[9/22] Compiling Logging MetadataProvider.swift
[10/22] Compiling Logging LogHandler.swift
[11/22] Emitting module Logging
[12/22] Compiling Logging Logging.swift
[14/23] Emitting module RecursiveSyncDispatch
[15/23] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[16/24] Wrapping AST for Logging for debugging
[17/24] Wrapping AST for RecursiveSyncDispatch for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/33] Compiling SemiSingleton SemiSingletonConfig.swift
[20/33] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[21/33] Emitting module SemiSingleton
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private var registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private var registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[22/33] Compiling SemiSingleton SemiSingletonStore.swift
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private var registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private var registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[23/33] Compiling RetryingOperation RetryHelper.swift
[24/33] Compiling RetryingOperation RetryingOperationConfig.swift
[25/33] Emitting module RetryingOperation
BUILD FAILURE 6.2 android