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 AppMetrica, reference main (3736c8), with Swift 6.0 for Linux on 28 Nov 2025 15:53:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.0-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/appmetrica/appmetrica-sdk-ios.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/appmetrica/appmetrica-sdk-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3736c80 fix crashes in unit-tests commit_hash:bf4c57cbc3f4460dc55ab48ea8312db917b1c154
Cloned https://github.com/appmetrica/appmetrica-sdk-ios.git
Revision (git rev-parse @):
3736c80d1ebd25b0e53a7ac7eedd5d09363cc444
SUCCESS checkout https://github.com/appmetrica/appmetrica-sdk-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/appmetrica/appmetrica-sdk-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d50cceb83aba9237d7903cc3c4ef7bd8f8bfaaf83777b35554908a03d392fd03
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/appmetrica/Kiwi
Fetching https://github.com/kstenerud/KSCrash
[1/5899] Fetching kiwi
[1948/24794] Fetching kiwi, kscrash
Fetched https://github.com/appmetrica/Kiwi from cache (0.60s)
[17384/18895] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (1.08s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.2 (2.79s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.1.2 (1.40s)
Creating working copy for https://github.com/appmetrica/Kiwi
Working copy of https://github.com/appmetrica/Kiwi resolved at 3.0.2
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.1.2
warning: 'spi-builder-workspace': ignoring target 'AppMetricaWebKitTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaStorageUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaScreenshotTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaProtobufUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaPlatformTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaNetworkTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaLogTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaKeychainTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaIDSyncTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaHostStateTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaEncodingUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaCrashesTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaCoreUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaCoreTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaAdSupportTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMATestExpectationsBag.m:1:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/638] Compiling AppMetricaTestUtils AMATestExpectationsBag.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMATestExecutor.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/638] Compiling AppMetricaTestUtils AMATestExecutor.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAIncrementableValueStorageMock.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/638] Compiling AppMetricaTestUtils AMAIncrementableValueStorageMock.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMATestTruncator.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/638] Compiling AppMetricaTestUtils AMATestTruncator.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMATestNetwork.m:2:
/host/spi-builder-workspace/.build/checkouts/Kiwi/Sources/AppMetricaKiwi/include/AppMetricaKiwi/AppMetricaKiwi.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMATestSafeTransactionRollbackContext.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/638] Compiling AppMetricaTestUtils AMATestSafeTransactionRollbackContext.m
[0/638] Compiling AppMetricaTestUtils AMATestNetwork.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAStubHostAppStateProvider.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/638] Compiling AppMetricaTestUtils AMAStubHostAppStateProvider.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMATestAssertionHandler.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/638] Compiling AppMetricaTestUtils AMATestAssertionHandler.m
BUILD FAILURE 6.0 linux