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 main (a73ea8), with Swift 6.1 for Wasm on 15 Jun 2025 07:38:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a73ea85 . d Update markdown snippets
Cloned https://github.com/hamcrest/OCHamcrest.git
Revision (git rev-parse @):
a73ea852c92a4d46f684ad308305c65b1875fab9
SUCCESS checkout https://github.com/hamcrest/OCHamcrest.git at main
========================================
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-4609320-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:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCDiagnosingMatcher.m
[0/76] Compiling HCSubstringMatcher.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
[0/76] Compiling HCInvocationMatcher.m
[0/76] Compiling HCRequireNonNilObject.m
[0/76] Compiling HCRunloopRunner.m
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[0/76] Compiling HCBaseMatcher.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCAssertThat.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
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/HCStringEndsWith.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCStringEndsWith.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 HCStringEndsWith.m
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
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCStringContainsInOrder.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCStringContainsInOrder.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 HCStringContainsInOrder.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCIsEqualIgnoringCase.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCIsEqualIgnoringCase.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 HCIsEqualIgnoringCase.m
[0/76] Compiling HCIsEqualCompressingWhiteSpace.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCStringContains.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCStringContains.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCStringContains.m
BUILD FAILURE 6.1 wasm