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 (8faa44), with Swift 6.1 for Linux on 22 Nov 2025 02:44: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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 8faa44d . e Update action to merge dependabot PRs
Cloned https://github.com/hamcrest/OCHamcrest.git
Revision (git rev-parse @):
8faa44db5ba98171c33f774e2e0f4eb95b6a6d48
SUCCESS checkout https://github.com/hamcrest/OCHamcrest.git at main
========================================
Build
========================================
Selected platform:         linux
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-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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/Helpers/HCRunloopRunner.m:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/HCRunloopRunner.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCRunloopRunner.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/HCWrapInMatcher.m:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/HCWrapInMatcher.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/Sources/OCHamcrest/Core/Helpers/NSInvocation+OCHamcrest.m:5:
/host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/NSInvocation+OCHamcrest.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
    5 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling NSInvocation+OCHamcrest.m
[0/76] Compiling HCWrapInMatcher.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCLongReturnGetter.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCCharReturnGetter.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCInvocationMatcher.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCLongLongReturnGetter.m
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCBoolReturnGetter.m
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Object/HCThrowsException.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Object/HCThrowsException.h:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/include/OCHamcrest/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 HCThrowsException.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCStringContains.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
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCIsEqualCompressingWhiteSpace.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Library/Text/HCIsEqualCompressingWhiteSpace.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 HCIsEqualCompressingWhiteSpace.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
BUILD FAILURE 6.1 linux