The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCMockito, reference v7.0.2 (21fc10), with Swift 6.1 for Wasm on 28 May 2025 21:23:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonreid/OCMockito.git
Reference: v7.0.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/jonreid/OCMockito
 * tag               v7.0.2     -> FETCH_HEAD
HEAD is now at 21fc109 d - update 7.0.2 release date
Cloned https://github.com/jonreid/OCMockito.git
Revision (git rev-parse @):
21fc1094d12bb2e86ff111e67e78e98689d4fac9
SUCCESS checkout https://github.com/jonreid/OCMockito.git at v7.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jonreid/OCMockito.git
https://github.com/jonreid/OCMockito.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ochamcrest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hamcrest/OCHamcrest"
    }
  ],
  "manifest_display_name" : "OCMockito",
  "name" : "OCMockito",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "OCMockito",
      "targets" : [
        "OCMockito"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OCMockito",
      "module_type" : "ClangTarget",
      "name" : "OCMockito",
      "path" : "Source",
      "product_dependencies" : [
        "OCHamcrest"
      ],
      "product_memberships" : [
        "OCMockito"
      ],
      "sources" : [
        "OCMockito/Core/MKTMockingProgress.m",
        "OCMockito/Core/MKTMockitoCore.m",
        "OCMockito/Core/MKTTestLocation.m",
        "OCMockito/Core/OCMockito.m",
        "OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTArgumentGetterChain.m",
        "OCMockito/Helpers/ArgumentGetters/MKTBoolArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTCharArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTClassArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTDoubleArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTFloatArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTIntArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTLongArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTLongLongArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTObjectArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTPointerArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTSelectorArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTShortArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTStructArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTUnsignedCharArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTUnsignedIntArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongLongArgumentGetter.m",
        "OCMockito/Helpers/ArgumentGetters/MKTUnsignedShortArgumentGetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTBoolReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTCharReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTClassReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTDoubleReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTFloatReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTIntReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTLongLongReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTLongReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTObjectReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetterChain.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTShortReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTStructReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTUnsignedCharReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTUnsignedIntReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongLongReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongReturnSetter.m",
        "OCMockito/Helpers/ReturnValueSetters/MKTUnsignedShortReturnSetter.m",
        "OCMockito/Invocation/MKTCallStackElement.m",
        "OCMockito/Invocation/MKTFilterCallStack.m",
        "OCMockito/Invocation/MKTInvocation.m",
        "OCMockito/Invocation/MKTInvocationMatcher.m",
        "OCMockito/Invocation/MKTLocation.m",
        "OCMockito/Invocation/MKTMatchingInvocationsFinder.m",
        "OCMockito/Invocation/MKTParseCallStack.m",
        "OCMockito/Invocation/MKTPrinter.m",
        "OCMockito/Invocation/MKT_TPDWeakProxy.m",
        "OCMockito/Invocation/NSInvocation+OCMockito.m",
        "OCMockito/Mocking/MKTBaseMockObject.m",
        "OCMockito/Mocking/MKTClassObjectMock.m",
        "OCMockito/Mocking/MKTDynamicProperties.m",
        "OCMockito/Mocking/MKTObjectAndProtocolMock.m",
        "OCMockito/Mocking/MKTObjectMock.m",
        "OCMockito/Mocking/MKTProtocolMock.m",
        "OCMockito/Mocking/MKTSingletonSwizzler.m",
        "OCMockito/Stubbing/MKTExecutesBlock.m",
        "OCMockito/Stubbing/MKTInvocationContainer.m",
        "OCMockito/Stubbing/MKTOngoingStubbing.m",
        "OCMockito/Stubbing/MKTReturnsValue.m",
        "OCMockito/Stubbing/MKTStubbedInvocationMatcher.m",
        "OCMockito/Stubbing/MKTThrowsException.m",
        "OCMockito/Verifying/MKTAtLeastNumberOfInvocationsChecker.m",
        "OCMockito/Verifying/MKTAtLeastTimes.m",
        "OCMockito/Verifying/MKTAtMostNumberOfInvocationsChecker.m",
        "OCMockito/Verifying/MKTAtMostTimes.m",
        "OCMockito/Verifying/MKTExactTimes.m",
        "OCMockito/Verifying/MKTInvocationsChecker.m",
        "OCMockito/Verifying/MKTMissingInvocationChecker.m",
        "OCMockito/Verifying/MKTNumberOfInvocationsChecker.m",
        "OCMockito/Verifying/MKTVerificationData.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/hamcrest/OCHamcrest
[1/20423] Fetching ochamcrest
Fetched https://github.com/hamcrest/OCHamcrest from cache (1.30s)
Computing version for https://github.com/hamcrest/OCHamcrest
Computed https://github.com/hamcrest/OCHamcrest at 9.1.1 (2.18s)
Creating working copy for https://github.com/hamcrest/OCHamcrest
Working copy of https://github.com/hamcrest/OCHamcrest resolved at 9.1.1
Building for debugging...
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.m:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTArgumentGetter.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Core/OCMockito.m:5:
/host/spi-builder-workspace/Source/OCMockito/Core/OCMockito.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/74] Compiling OCMockito.m
[0/74] Compiling MKTTestLocation.m
In file included from [0/74] Compiling MKTInvocationsChecker.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTMissingInvocationChecker.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTMissingInvocationChecker.h:5:
/host/spi-builder-workspace/Source/OCMockito/Verifying/MKTInvocationsChecker.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/74] Compiling MKTMissingInvocationChecker.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTNumberOfInvocationsChecker.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTNumberOfInvocationsChecker.h:5:
/host/spi-builder-workspace/Source/OCMockito/Verifying/MKTInvocationsChecker.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTNumberOfInvocationsChecker.m
[0/74] Compiling MKTExactTimes.m
[0/74] Compiling MKTVerificationData.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/Source/OCMockito/Verifying/MKTNumberOfInvocationsChecker.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTNumberOfInvocationsChecker.h:5:
/host/spi-builder-workspace/Source/OCMockito/Verifying/MKTInvocationsChecker.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTMissingInvocationChecker.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTMissingInvocationChecker.h:5:
/host/spi-builder-workspace/Source/OCMockito/Verifying/MKTInvocationsChecker.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTNumberOfInvocationsChecker.m
[0/74] Compiling MKTMissingInvocationChecker.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTVerificationData.m:5:
/host/spi-builder-workspace/Source/OCMockito/Verifying/MKTVerificationData.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTVerificationData.m
[0/74] Compiling MKTAtMostTimes.m
[0/74] Compiling MKTExactTimes.m
[0/74] Compiling MKTAtMostNumberOfInvocationsChecker.m
[0/74] Compiling MKTAtLeastTimes.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTInvocationsChecker.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Verifying/MKTNumberOfInvocationsChecker.h:5:
/host/spi-builder-workspace/Source/OCMockito/Verifying/MKTInvocationsChecker.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/74] Compiling MKTInvocationsChecker.m
BUILD FAILURE 6.1 wasm