The Swift Package Index logo.Swift Package Index

Build Information

Failed to build URLMock, reference master (6d52a5), with Swift 6.2 for Android on 28 Sep 2025 06:48:28 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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prachigauriar/URLMock.git
Reference: master
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/prachigauriar/URLMock
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6d52a5e Add support for SwiftPM
Cloned https://github.com/prachigauriar/URLMock.git
Revision (git rev-parse @):
6d52a5e64c9f5e3a1248de6269d100fe39c5bdc8
SUCCESS checkout https://github.com/prachigauriar/URLMock.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/prachigauriar/URLMock.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/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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/URLMock/Utilities/UMKParameterPair.m:28:
/host/spi-builder-workspace/Sources/URLMock/Headers/Private/UMKParameterPair.h:28:9: fatal error: 'Foundation/Foundation.h' file not found
   28 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UMKParameterPair.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Utilities/UMKTestUtilities.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Public/URLMock/UMKTestUtilities.h:33:9: fatal error: 'Foundation/Foundation.h' file not found
   33 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UMKTestUtilities.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Utilities/UMKURLEncodedParameterStringParser.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Private/UMKURLEncodedParameterStringParser.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UMKURLEncodedParameterStringParser.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Categories/NSException+UMKSubclassResponsibility.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Public/URLMock/NSException+UMKSubclassResponsibility.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling NSException+UMKSubclassResponsibility.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Categories/NSURLRequest+UMKHTTPConvenienceMethods.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Public/URLMock/NSURLRequest+UMKHTTPConvenienceMethods.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling NSURLRequest+UMKHTTPConvenienceMethods.m
[0/16] Compiling UMKMessageCountingProxy.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Categories/NSURL+UMKQueryParameters.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Public/URLMock/NSURL+UMKQueryParameters.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/16] Compiling NSURL+UMKQueryParameters.m
[0/16] Compiling UMKMockHTTPMessage.m
BUILD FAILURE 6.2 android