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 HTTPMock, reference 0.0.3 (f6cd70), with Swift 6.2 (beta) for Android on 31 Aug 2025 14:18:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bstien/HTTPMock.git
Reference: 0.0.3
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/bstien/HTTPMock
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at f6cd70a Feature: Support for multiple instances of `HTTPMock` (#4)
Cloned https://github.com/bstien/HTTPMock.git
Revision (git rev-parse @):
f6cd70af445a6b47f0346b70cc8445aac618521f
SUCCESS checkout https://github.com/bstien/HTTPMock.git at 0.0.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bstien/HTTPMock.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module HTTPMock
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[4/28] Compiling HTTPMock Registration.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[5/28] Compiling HTTPMock PathBuilder.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[6/28] Compiling HTTPMock RegistrationBuilder.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[7/28] Compiling HTTPMock HTTPMockURLProtocol+Key.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[8/28] Compiling HTTPMock HTTPMockURLProtocol.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[9/28] Compiling HTTPMock MockResponse+Delivery.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[10/28] Compiling HTTPMock HTTPMock+ResultBuilder.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[11/28] Compiling HTTPMock HTTPMock.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[12/28] Compiling HTTPMock HTTPMockLog.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[13/28] Compiling HTTPMock HostBuilder.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[14/28] Compiling HTTPMock Headers.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[15/28] Compiling HTTPMock Host.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[16/28] Compiling HTTPMock MockResponse+Lifetime.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[17/28] Compiling HTTPMock MockResponse+Payload.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[18/28] Compiling HTTPMock MockResponse+Status.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[19/28] Compiling HTTPMock HostElement.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[20/28] Compiling HTTPMock Path.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[21/28] Compiling HTTPMock PathElement.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[22/28] Compiling HTTPMock MockResponse.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[23/28] Compiling HTTPMock QueryMatching.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[24/28] Compiling HTTPMock UnmockedPolicy.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[25/28] Compiling HTTPMock Dictionary+Extensions.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[26/28] Compiling HTTPMock JSONEncoder+Extensions.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[27/28] Compiling HTTPMock URLQueryItem+Extensions.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
[28/28] Compiling HTTPMock URLSession+Extensions.swift
/host/spi-builder-workspace/Sources/HTTPMock/Extensions/URLSession+Extensions.swift:2:8: error: no such module 'ObjectiveC.runtime'
 1 | import Foundation
 2 | import ObjectiveC.runtime
   |        `- error: no such module 'ObjectiveC.runtime'
 3 |
 4 | private var MockIdentifierKey: UInt8 = 0
BUILD FAILURE 6.2 android