The Swift Package Index logo.Swift Package Index

Build Information

Failed to build URLMock, reference master (6d52a5), with Swift 6.1 for Wasm on 28 Sep 2025 06:50:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/prachigauriar/URLMock.git
https://github.com/prachigauriar/URLMock.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "URLMock",
  "name" : "URLMock",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "URLMock",
      "targets" : [
        "URLMock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLMock",
      "module_type" : "ClangTarget",
      "name" : "URLMock",
      "path" : "Sources/URLMock",
      "product_memberships" : [
        "URLMock"
      ],
      "sources" : [
        "Categories/NSDictionary+UMKURLEncoding.m",
        "Categories/NSException+UMKSubclassResponsibility.m",
        "Categories/NSURL+UMKQueryParameters.m",
        "Categories/NSURLRequest+UMKHTTPConvenienceMethods.m",
        "Mock Messages/UMKMockHTTPMessage.m",
        "Mock Messages/UMKMockHTTPRequest.m",
        "Mock Messages/UMKMockHTTPResponder.m",
        "Mock URL Protocol/UMKMockURLProtocol+UMKHTTPConvenienceMethods.m",
        "Mock URL Protocol/UMKMockURLProtocol.m",
        "Pattern-Matching Mock Requests/SOCKit.m",
        "Pattern-Matching Mock Requests/UMKPatternMatchingMockRequest.m",
        "Utilities/UMKErrorUtilities.m",
        "Utilities/UMKMessageCountingProxy.m",
        "Utilities/UMKParameterPair.m",
        "Utilities/UMKTestUtilities.m",
        "Utilities/UMKURLEncodedParameterStringParser.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/URLMock/Utilities/UMKMessageCountingProxy.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Public/URLMock/UMKMessageCountingProxy.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UMKMessageCountingProxy.m
[0/16] Compiling UMKMockURLProtocol.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/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
[0/16] Compiling UMKErrorUtilities.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Pattern-Matching Mock Requests/SOCKit.m:17:
/host/spi-builder-workspace/Sources/URLMock/Pattern-Matching Mock Requests/SOCKit.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/16] Compiling SOCKit.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Pattern-Matching Mock Requests/UMKPatternMatchingMockRequest.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Public/URLMock/UMKPatternMatchingMockRequest.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/16] Compiling UMKPatternMatchingMockRequest.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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
[0/16] Compiling UMKPatternMatchingMockRequest.m
[0/16] Compiling SOCKit.m
[0/16] Compiling UMKMockURLProtocol.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/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
[0/16] Compiling UMKErrorUtilities.m
In file included from /host/spi-builder-workspace/Sources/URLMock/Utilities/UMKMessageCountingProxy.m:27:
/host/spi-builder-workspace/Sources/URLMock/Headers/Public/URLMock/UMKMessageCountingProxy.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UMKMessageCountingProxy.m
BUILD FAILURE 6.1 wasm