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 Kiwi, reference 3.0.1-spm (a26527), with Swift 6.1 for Linux on 28 Apr 2025 06:45:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/Kiwi.git
Reference: 3.0.1-spm
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/appmetrica/Kiwi
 * tag               3.0.1-spm  -> FETCH_HEAD
HEAD is now at a265276 Merge pull request #1 from appmetrica/fix-spm
Cloned https://github.com/appmetrica/Kiwi.git
Revision (git rev-parse @):
a265276ad551a65c9b2e3762b0363e007b16f10e
SUCCESS checkout https://github.com/appmetrica/Kiwi.git at 3.0.1-spm
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/appmetrica/Kiwi.git
https://github.com/appmetrica/Kiwi.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    }
  ],
  "manifest_display_name" : "Kiwi",
  "name" : "Kiwi",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "Kiwi",
      "targets" : [
        "Kiwi"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Test_Classes",
      "module_type" : "ClangTarget",
      "name" : "Test Classes",
      "path" : "Sources/Test Classes",
      "sources" : [
        "Carrier.m",
        "Cruiser.m",
        "DoNotUseMe.m",
        "Engine.m",
        "Fighter.m",
        "Galaxy.m",
        "Robot.m",
        "SpaceShip.m",
        "TestReporter.m",
        "TestSpy.m",
        "TestVerifier.m"
      ],
      "target_dependencies" : [
        "Kiwi"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KiwiTestsSwift",
      "module_type" : "SwiftTarget",
      "name" : "KiwiTestsSwift",
      "path" : "Tests/KiwiTestsSwift",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "KWSwiftNimbleTests.swift",
        "KWSwiftXCTestAssertionTests.swift"
      ],
      "target_dependencies" : [
        "Kiwi"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KiwiTestsNoArc",
      "module_type" : "ClangTarget",
      "name" : "KiwiTestsNoArc",
      "path" : "Tests/KiwiTestsNoArc",
      "sources" : [
        "KWRealObjectStubTest.m",
        "KWStubTest.m"
      ],
      "target_dependencies" : [
        "Kiwi",
        "Test Classes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KiwiTests",
      "module_type" : "ClangTarget",
      "name" : "KiwiTests",
      "path" : "Tests/KiwiTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "Config.m",
        "KWBeBetweenMatcherTest.m",
        "KWBeEmptyMatcherTest.m",
        "KWBeIndenticalToMatcherTest.m",
        "KWBeKindOfClassMatcherTest.m",
        "KWBeMemberOfClassMatcherTest.m",
        "KWBeSubclassOfClassMatcherTest.m",
        "KWBeTrueMatcherTest.m",
        "KWBeWithinMatcherTest.m",
        "KWBeZeroMatcherTest.m",
        "KWBlockNodeTest.m",
        "KWBlockRaiseMatcherTest.m",
        "KWCaptureTest.m",
        "KWChangeMatcherTest.m",
        "KWConformToProtocolMatcherTest.m",
        "KWContainMatcherTest.m",
        "KWContainStringMatcherTest.m",
        "KWContextNodeTest.m",
        "KWDeviceInfoTest.m",
        "KWEqualMatcherTest.m",
        "KWExampleSuiteBuilderTest.m",
        "KWExampleSuiteTest.m",
        "KWExampleTest.m",
        "KWExpectaTests.m",
        "KWFailureInterceptingSpec.m",
        "KWFormatterTest.m",
        "KWFunctionalTests.m",
        "KWGenericMatcherTest.m",
        "KWHaveMatcherTest.m",
        "KWHaveValueMatcherTest.m",
        "KWInequalityMatcherTest.m",
        "KWLetNodeTest.m",
        "KWMessagePatternFunctionalTests.m",
        "KWMessagePatternTest.m",
        "KWMockTest.m",
        "KWNotificationMatcherFunctionalTests.m",
        "KWNotificationMatcherTest.m",
        "KWObjCNimbleTests.m",
        "KWObjCUtilitiesTest.m",
        "KWObjCXCTestAssertionTests.m",
        "KWPendingNodeTest.m",
        "KWRealObjectSpyTest.m",
        "KWReceiveMatcherTest.m",
        "KWRegularExpressionPatternMatcherTest.m",
        "KWRespondToSelectorMatcherTest.m",
        "KWStringUtilitiesTest.m",
        "KWUserDefinedMatcherFunctionalTest.m",
        "KWUserDefinedMatcherTest.m",
        "KWValueTest.m",
        "NSNumber_KiwiAdditionsTests.m",
        "Shared Examples/KWSharedExampleFunctionalTest.m",
        "Shared Examples/KWSharedExampleRegistryTest.m",
        "Shared Examples/KWSharedExampleTest.m"
      ],
      "target_dependencies" : [
        "Kiwi",
        "Test Classes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Kiwi",
      "module_type" : "ClangTarget",
      "name" : "Kiwi",
      "path" : "Sources/Kiwi",
      "product_memberships" : [
        "Kiwi"
      ],
      "sources" : [
        "Config/KWAllTestsSuite.m",
        "Config/KWSuiteConfigurationBase.m",
        "Core/KWAny.m",
        "Core/KWBackgroundTask.m",
        "Core/KWBlock.m",
        "Core/KWCallSite.m",
        "Core/KWCaptureSpy.m",
        "Core/KWDeviceInfo.m",
        "Core/KWExample.m",
        "Core/KWExampleSuite.m",
        "Core/KWExampleSuiteBuilder.m",
        "Core/KWFailure.m",
        "Core/KWFormatter.m",
        "Core/KWFutureObject.m",
        "Core/KWInvocationCapturer.m",
        "Core/KWMatcher.m",
        "Core/KWMatcherFactory.m",
        "Core/KWMatchers.m",
        "Core/KWMessagePattern.m",
        "Core/KWMessageTracker.m",
        "Core/KWNull.m",
        "Core/KWObjCUtilities.m",
        "Core/KWProbePoller.m",
        "Core/KWSpec.m",
        "Core/KWStringUtilities.m",
        "Core/KWSymbolicator.m",
        "Core/KWValue.m",
        "Core/KWWorkarounds.m",
        "Core/NSInvocation+KiwiAdditions.m",
        "Core/NSInvocation+OCMAdditions.m",
        "Core/NSMethodSignature+KiwiAdditions.m",
        "Core/NSNumber+KiwiAdditions.m",
        "Core/NSObject+KiwiSpyAdditions.m",
        "Core/NSObject+KiwiVerifierAdditions.m",
        "Core/NSProxy+KiwiVerifierAdditions.m",
        "Core/NSValue+KiwiAdditions.m",
        "Matchers/KWBeBetweenMatcher.m",
        "Matchers/KWBeEmptyMatcher.m",
        "Matchers/KWBeIdenticalToMatcher.m",
        "Matchers/KWBeKindOfClassMatcher.m",
        "Matchers/KWBeMemberOfClassMatcher.m",
        "Matchers/KWBeSubclassOfClassMatcher.m",
        "Matchers/KWBeTrueMatcher.m",
        "Matchers/KWBeWithinMatcher.m",
        "Matchers/KWBeZeroMatcher.m",
        "Matchers/KWBlockRaiseMatcher.m",
        "Matchers/KWChangeMatcher.m",
        "Matchers/KWConformToProtocolMatcher.m",
        "Matchers/KWContainMatcher.m",
        "Matchers/KWContainStringMatcher.m",
        "Matchers/KWEqualMatcher.m",
        "Matchers/KWGenericMatchEvaluator.m",
        "Matchers/KWGenericMatcher.m",
        "Matchers/KWGenericMatchingAdditions.m",
        "Matchers/KWHaveMatcher.m",
        "Matchers/KWHaveValueMatcher.m",
        "Matchers/KWInequalityMatcher.m",
        "Matchers/KWNilMatcher.m",
        "Matchers/KWNotificationMatcher.m",
        "Matchers/KWReceiveMatcher.m",
        "Matchers/KWRegularExpressionPatternMatcher.m",
        "Matchers/KWRespondToSelectorMatcher.m",
        "Matchers/KWStringContainsMatcher.m",
        "Matchers/KWStringPrefixMatcher.m",
        "Matchers/KWUserDefinedMatcher.m",
        "Mocking/KWMock.m",
        "Mocking/NSObject+KiwiMockAdditions.m",
        "Nodes/KWAfterAllNode.m",
        "Nodes/KWAfterEachNode.m",
        "Nodes/KWBeforeAllNode.m",
        "Nodes/KWBeforeEachNode.m",
        "Nodes/KWBlockNode.m",
        "Nodes/KWContextNode.m",
        "Nodes/KWItNode.m",
        "Nodes/KWLetNode.m",
        "Nodes/KWPendingNode.m",
        "Nodes/KWRegisterMatchersNode.m",
        "Shared Examples/KWSharedExample.m",
        "Shared Examples/KWSharedExampleRegistry.m",
        "Stubbing/KWIntercept.m",
        "Stubbing/KWStub.m",
        "Stubbing/NSObject+KiwiStubAdditions.m",
        "Verifiers/KWAsyncVerifier.m",
        "Verifiers/KWExistVerifier.m",
        "Verifiers/KWMatchVerifier.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
warning: 'spi-builder-workspace': ignoring target 'KiwiTestsNoArc' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'KiwiTests' 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-3":/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
Fetching https://github.com/Quick/Nimble
[1/19567] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (1.70s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (2.34s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
warning: 'spi-builder-workspace': ignoring target 'KiwiTestsNoArc' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'KiwiTests' 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/Kiwi/Core/KWStringUtilities.m:7:
In file included from /host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KWStringUtilities.h:7:
/host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KiwiConfiguration.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/Kiwi/Core/KWBackgroundTask.m:7:
/host/spi-builder-workspace/Sources/Kiwi/Core/KWBackgroundTask.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling KWBackgroundTask.m
In file included from /host/spi-builder-workspace/Sources/Kiwi/Core/KWAny.m:7:
In file included from /host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KWAny.h:7:
/host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KiwiConfiguration.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling KWAny.m
/host/spi-builder-workspace/Sources/Kiwi/Config/KWAllTestsSuite.m:9:9: fatal error: 'XCTest/XCTestSuite.h' file not found
    9 | #import <XCTest/XCTestSuite.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling KWAllTestsSuite.m
In file included from /host/spi-builder-workspace/Sources/Kiwi/Matchers/KWConformToProtocolMatcher.m:7:
In file included from /host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KWConformToProtocolMatcher.h:7:
/host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KiwiConfiguration.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling KWConformToProtocolMatcher.m
[0/96] Compiling KWStringUtilities.m
In file included from /host/spi-builder-workspace/Sources/Kiwi/Core/KWBlock.m:7:
In file included from /host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KWBlock.h:7:
/host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KiwiConfiguration.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/Kiwi/Config/KWSuiteConfigurationBase.m:9:
/host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/KWSuiteConfigurationBase.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling KWSuiteConfigurationBase.m
[0/96] Compiling KWBlock.m
[0/96] Compiling KWSymbolicator.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 'KiwiTestsNoArc' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'KiwiTests' 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/Test Classes/SpaceShip.m:7:
/host/spi-builder-workspace/Sources/Test Classes/SpaceShip.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling Test Classes SpaceShip.m
In file included from /host/spi-builder-workspace/Sources/Test Classes/Galaxy.m:9:
/host/spi-builder-workspace/Sources/Test Classes/Galaxy.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling Test Classes Galaxy.m
In file included from /host/spi-builder-workspace/Sources/Test Classes/TestSpy.m:7:
In file included from /host/spi-builder-workspace/Sources/Test Classes/TestSpy.h:7:
/host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/Kiwi.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/96] Compiling Test Classes TestSpy.m
In file included from /host/spi-builder-workspace/Sources/Test Classes/Robot.m:9:
/host/spi-builder-workspace/Sources/Test Classes/Robot.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling Test Classes Robot.m
[0/96] Compiling Test Classes TestReporter.m
In file included from /host/spi-builder-workspace/Sources/Test Classes/Engine.m:7:
/host/spi-builder-workspace/Sources/Test Classes/Engine.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling Test Classes Engine.m
In file included from /host/spi-builder-workspace/Sources/Test Classes/Fighter.m:7:
/host/spi-builder-workspace/Sources/Test Classes/Fighter.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/96] Compiling Test Classes Fighter.m
In file included from /host/spi-builder-workspace/Sources/Test Classes/TestVerifier.m:7:
In file included from /host/spi-builder-workspace/Sources/Test Classes/TestVerifier.h:7:
/host/spi-builder-workspace/Sources/Kiwi/include/Kiwi/Kiwi.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/96] Compiling Test Classes TestVerifier.m
BUILD FAILURE 6.1 linux