The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build OCHamcrest, reference v9.1.1 (52a156), with Swift 6.0 for Linux on 24 Feb 2025 07:23:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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:         linux
Swift version:             6.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/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/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/ReturnValueGetters/HCDoubleReturnGetter.m:5:
In file included from /host/spi-builder-workspace/Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.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 HCDoubleReturnGetter.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCBoolReturnGetter.m
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
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.
[0/76] Compiling HCWrapInMatcher.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/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.
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.
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.
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.
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.
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 HCStringContains.m
[0/76] Compiling HCStringEndsWith.m
[0/76] Compiling HCIsEqualCompressingWhiteSpace.m
[0/76] Compiling HCStringStartsWith.m
[0/76] Compiling HCSubstringMatcher.m
[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
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
BUILD FAILURE 6.0 linux