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 main (fa02d4), with Swift 6.1 for Linux on 1 May 2025 01:44:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.61.2
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 fa02d49 Revert ". e Add xcresulttool to GH actions"
Cloned https://github.com/hamcrest/OCHamcrest.git
Revision (git rev-parse @):
fa02d49fe4e3f155343e7f159e6e15a559deb773
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-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/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/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 HCIsEqualIgnoringCase.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 HCStringContains.m
[0/76] Compiling HCStringEndsWith.m
[0/76] Compiling HCSubstringMatcher.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling HCStringContainsInOrder.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/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/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 HCIsEqualIgnoringCase.m
[0/76] Compiling HCIsEqualCompressingWhiteSpace.m
[0/76] Compiling HCThrowsException.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
[0/76] Compiling HCStringContains.m
[0/76] Compiling HCStringEndsWith.m
BUILD FAILURE 6.1 linux