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 2.0.0-alpha.14.2 (f33309), with Swift 6.2 (beta) for Android on 19 Jun 2025 22:56:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 2.0.0-alpha.14.2
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
 * tag               2.0.0-alpha.14.2 -> FETCH_HEAD
HEAD is now at f33309a Create and use RetryCountsHolder
Cloned https://github.com/happn-app/URLRequestOperation.git
Revision (git rev-parse @):
f33309a783db53b59a2e4426b89fd6be280438b2
SUCCESS checkout https://github.com/happn-app/URLRequestOperation.git at 2.0.0-alpha.14.2
========================================
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-2":/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/apple/swift-log.git
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/happn-app/HTTPCoders.git
[1/71] Fetching httpcoders
[72/466] Fetching httpcoders, retryingoperation
[467/887] Fetching httpcoders, retryingoperation, semisingleton
[543/4723] Fetching httpcoders, retryingoperation, semisingleton, swift-log
[932/4652] Fetching retryingoperation, semisingleton, swift-log
Fetched https://github.com/happn-app/HTTPCoders.git from cache (0.28s)
Fetched https://github.com/happn-app/RetryingOperation.git from cache (0.29s)
[609/4257] Fetching semisingleton, swift-log
Fetched https://github.com/happn-app/SemiSingleton.git from cache (0.51s)
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (1.20s)
Computing version for https://github.com/happn-app/HTTPCoders.git
Computed https://github.com/happn-app/HTTPCoders.git at 0.1.2 (0.51s)
Fetching https://github.com/Frizlab/stream-reader.git
Fetching https://github.com/apple/swift-collections.git
[1/1051] Fetching stream-reader
[1052/17691] Fetching stream-reader, swift-collections
Fetched https://github.com/Frizlab/stream-reader.git from cache (1.18s)
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (4.27s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.18s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.1.0-beta.1 (0.78s)
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.31s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (1.15s)
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.1.0-beta.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
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
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/HTTPCoders.git
Working copy of https://github.com/happn-app/HTTPCoders.git resolved at 0.1.2
Building for debugging...
[0/19] Write sources
[8/19] Write swift-version-8C5A4AE7A8CE2BA.txt
[10/37] Compiling Logging MetadataProvider.swift
[11/37] Emitting module RecursiveSyncDispatch
[12/37] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[13/38] Compiling FormURLEncodedCoder URLQueryFragmentConvertible.swift
[15/38] Compiling MediaType Scanner+LinuxCompat.swift
[16/38] Emitting module MediaType
[17/38] Compiling MediaType MediaType.swift
[17/38] Wrapping AST for RecursiveSyncDispatch for debugging
[19/39] Compiling FormURLEncodedCoder FormURLEncodedEncodingErrors.swift
[20/39] Compiling FormURLEncodedCoder FormURLEncodedSerializer.swift
[21/39] Compiling FormURLEncodedCoder FormURLEncodedParser.swift
[22/39] Compiling FormURLEncodedCoder FormURLEncodedData.swift
[24/39] Compiling FormURLEncodedCoder FormURLEncodedEncoder.swift
[24/39] Wrapping AST for MediaType for debugging
[26/39] Compiling Logging Locks.swift
[27/39] Emitting module Logging
[28/39] Compiling Logging LogHandler.swift
[29/39] Compiling Logging Logging.swift
[30/40] Wrapping AST for Logging for debugging
[32/40] Compiling FormURLEncodedCoder FormURLEncodedDecoder.swift
[33/40] Emitting module FormURLEncodedCoder
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/50] Emitting module SemiSingleton
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/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>()
[35/50] Wrapping AST for FormURLEncodedCoder for debugging
[37/50] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[38/50] Compiling SemiSingleton SemiSingletonConfig.swift
[39/50] Compiling SemiSingleton SemiSingletonStore.swift
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/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>()
[40/50] Compiling RetryingOperation RetryingOperationConfig.swift
[41/50] Compiling RetryingOperation WrappedRetryingOperation.swift
[42/50] Compiling RetryingOperation RetryHelper.swift
[43/50] Compiling RetryingOperation RetryingOperation.swift
[44/50] Emitting module RetryingOperation
BUILD FAILURE 6.2 android