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 OCHamcrest, reference v9.1.1 (52a156), with Swift 6.1 for Wasm on 30 May 2025 10:32:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/hamcrest/OCHamcrest.git
Reference: v9.1.1
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/hamcrest/OCHamcrest
 * tag               v9.1.1     -> FETCH_HEAD
HEAD is now at 52a1567 . e Bump version to 9.1.1
Cloned https://github.com/hamcrest/OCHamcrest.git
Revision (git rev-parse @):
52a1567677f620fe51834d8fb7209797a7b71eb3
SUCCESS checkout https://github.com/hamcrest/OCHamcrest.git at v9.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hamcrest/OCHamcrest.git
https://github.com/hamcrest/OCHamcrest.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OCHamcrest",
  "name" : "OCHamcrest",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "OCHamcrest",
      "targets" : [
        "OCHamcrest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OCHamcrestTests",
      "module_type" : "ClangTarget",
      "name" : "OCHamcrestTests",
      "path" : "Tests/OCHamcrestTests",
      "sources" : [
        "Collection/FakeWithCount.m",
        "Collection/FakeWithoutCount.m",
        "Collection/HCEveryTests.m",
        "Collection/HCHasCountTests.m",
        "Collection/HCIsCollectionContainingInAnyOrderTests.m",
        "Collection/HCIsCollectionContainingInOrderTests.m",
        "Collection/HCIsCollectionContainingInRelativeOrderTests.m",
        "Collection/HCIsCollectionContainingTests.m",
        "Collection/HCIsCollectionOnlyContainingTests.m",
        "Collection/HCIsDictionaryContainingEntriesTests.m",
        "Collection/HCIsDictionaryContainingKeyTests.m",
        "Collection/HCIsDictionaryContainingTests.m",
        "Collection/HCIsDictionaryContainingValueTests.m",
        "Collection/HCIsEmptyCollectionTests.m",
        "Collection/HCIsInTests.m",
        "Collection/Mismatchable.m",
        "Core/AssertWithTimeoutTests.m",
        "Core/DiagnosingMatcherTest.m",
        "Core/HCBaseMatcherTests.m",
        "Core/HCGenericTestFailureReporterTests.m",
        "Core/HCInvocationMatcherTests.m",
        "Core/HCSenTestFailureReporterTests.m",
        "Core/HCStringDescriptionTests.m",
        "Core/HCTestFailureReporterChainTests.m",
        "Core/HCWrapInMatcherTests.m",
        "Core/HCXCTestFailureReporterTests.m",
        "Core/HCXCTestIssueFailureReporterTests.m",
        "Decorator/HCDescribedAsTests.m",
        "Decorator/HCIsTests.m",
        "Decorator/NeverMatch.m",
        "InterceptingTestCase.m",
        "Logical/HCAllOfTests.m",
        "Logical/HCAnyOfTests.m",
        "Logical/HCIsAnythingTests.m",
        "Logical/HCIsNotTests.m",
        "MatcherTestCase.m",
        "Number/HCIsCloseToTests.m",
        "Number/HCIsEqualToNumberTests.m",
        "Number/HCIsTrueFalseTests.m",
        "Number/HCNumberAssertTests.m",
        "Number/HCOrderingComparisonTests.m",
        "Object/HCArgumentCaptorTests.m",
        "Object/HCConformsToProtocolTests.m",
        "Object/HCHasDescriptionTests.m",
        "Object/HCHasPropertyTests.m",
        "Object/HCIsEqualTests.m",
        "Object/HCIsInstanceOfTests.m",
        "Object/HCIsNilTests.m",
        "Object/HCIsSameTests.m",
        "Object/HCIsTypeOfTests.m",
        "Object/HCThrowsExceptionTests.m",
        "Object/SomeClassAndSubclass.m",
        "Text/HCIsEqualCompressingWhiteSpaceTests.m",
        "Text/HCIsEqualIgnoringCaseTests.m",
        "Text/HCStringContainsInOrderTests.m",
        "Text/HCStringContainsTests.m",
        "Text/HCStringEndsWithTests.m",
        "Text/HCStringStartsWithTests.m"
      ],
      "target_dependencies" : [
        "OCHamcrest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OCHamcrest",
      "module_type" : "ClangTarget",
      "name" : "OCHamcrest",
      "path" : "Sources/OCHamcrest",
      "product_memberships" : [
        "OCHamcrest"
      ],
      "sources" : [
        "Core/HCAssertThat.m",
        "Core/HCBaseDescription.m",
        "Core/HCBaseMatcher.m",
        "Core/HCDiagnosingMatcher.m",
        "Core/HCStringDescription.m",
        "Core/Helpers/HCCollect.m",
        "Core/Helpers/HCInvocationMatcher.m",
        "Core/Helpers/HCRequireNonNilObject.m",
        "Core/Helpers/HCRunloopRunner.m",
        "Core/Helpers/HCWrapInMatcher.m",
        "Core/Helpers/NSInvocation+OCHamcrest.m",
        "Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCCharReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCIntReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCLongReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.m",
        "Core/Helpers/ReturnValueGetters/HCReturnValueGetter.m",
        "Core/Helpers/ReturnValueGetters/HCShortReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.m",
        "Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.m",
        "Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.m",
        "Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.m",
        "Core/Helpers/TestFailureReporters/HCTestFailure.m",
        "Core/Helpers/TestFailureReporters/HCTestFailureReporter.m",
        "Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.m",
        "Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.m",
        "Core/Helpers/TestFailureReporters/HCXCTestIssueFailureReporter.m",
        "Library/Collection/HCEvery.m",
        "Library/Collection/HCHasCount.m",
        "Library/Collection/HCIsCollectionContaining.m",
        "Library/Collection/HCIsCollectionContainingInAnyOrder.m",
        "Library/Collection/HCIsCollectionContainingInOrder.m",
        "Library/Collection/HCIsCollectionContainingInRelativeOrder.m",
        "Library/Collection/HCIsCollectionOnlyContaining.m",
        "Library/Collection/HCIsDictionaryContaining.m",
        "Library/Collection/HCIsDictionaryContainingEntries.m",
        "Library/Collection/HCIsDictionaryContainingKey.m",
        "Library/Collection/HCIsDictionaryContainingValue.m",
        "Library/Collection/HCIsEmptyCollection.m",
        "Library/Collection/HCIsIn.m",
        "Library/Decorator/HCDescribedAs.m",
        "Library/Decorator/HCIs.m",
        "Library/Logical/HCAllOf.m",
        "Library/Logical/HCAnyOf.m",
        "Library/Logical/HCIsAnything.m",
        "Library/Logical/HCIsNot.m",
        "Library/Number/HCIsCloseTo.m",
        "Library/Number/HCIsEqualToNumber.m",
        "Library/Number/HCIsTrueFalse.m",
        "Library/Number/HCNumberAssert.m",
        "Library/Number/HCOrderingComparison.m",
        "Library/Object/HCArgumentCaptor.m",
        "Library/Object/HCClassMatcher.m",
        "Library/Object/HCConformsToProtocol.m",
        "Library/Object/HCHasDescription.m",
        "Library/Object/HCHasProperty.m",
        "Library/Object/HCIsEqual.m",
        "Library/Object/HCIsInstanceOf.m",
        "Library/Object/HCIsNil.m",
        "Library/Object/HCIsSame.m",
        "Library/Object/HCIsTypeOf.m",
        "Library/Object/HCThrowsException.m",
        "Library/Text/HCIsEqualCompressingWhiteSpace.m",
        "Library/Text/HCIsEqualIgnoringCase.m",
        "Library/Text/HCStringContains.m",
        "Library/Text/HCStringContainsInOrder.m",
        "Library/Text/HCStringEndsWith.m",
        "Library/Text/HCStringStartsWith.m",
        "Library/Text/HCSubstringMatcher.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
warning: 'spi-builder-workspace': ignoring target 'OCHamcrestTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
warning: 'spi-builder-workspace': ignoring target 'OCHamcrestTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/HCBaseMatcher.m:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCBaseMatcher.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/HCBaseDescription.m:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/HCBaseDescription.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCBaseDescription.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/HCInvocationMatcher.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/HCInvocationMatcher.h:5:
/host/spi-builder-workspace/Sources/OCHamcrest/include/OCHamcrest/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCInvocationMatcher.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCIntReturnGetter.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/HCCollect.m:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/HCCollect.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCCollect.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/HCAssertThat.m:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/HCAssertThat.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCAssertThat.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/HCStringDescription.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/HCStringDescription.h:5:
/host/spi-builder-workspace/Sources/OCHamcrest/include/OCHamcrest/HCBaseDescription.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCStringDescription.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/HCDiagnosingMatcher.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/HCDiagnosingMatcher.h:5:
/host/spi-builder-workspace/Sources/OCHamcrest/include/OCHamcrest/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCDiagnosingMatcher.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
warning: 'spi-builder-workspace': ignoring target 'OCHamcrestTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCSubstringMatcher.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCSubstringMatcher.h:5:
/host/spi-builder-workspace/Sources/OCHamcrest/include/OCHamcrest/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCSubstringMatcher.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCStringStartsWith.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCStringStartsWith.h:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/include/OCHamcrest/HCSubstringMatcher.h:5:
/host/spi-builder-workspace/Sources/OCHamcrest/include/OCHamcrest/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCStringStartsWith.m
[0/76] Compiling HCThrowsException.m
[0/76] Compiling HCStringContainsInOrder.m
[0/76] Compiling HCIsEqualCompressingWhiteSpace.m
[0/76] Compiling HCStringContains.m
[0/76] Compiling HCIsEqualIgnoringCase.m
[0/76] Compiling HCStringEndsWith.m
BUILD FAILURE 6.1 wasm