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 (40bcd3), with Swift 5.10 for Linux on 19 Aug 2025 14:29: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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 40bcd3c restore AppMetricaLibraryAdapter-5.11 to prevent crash commit_hash:647679e4ae912156831ca3474c7e71ed5074eb94
Cloned https://github.com/appmetrica/appmetrica-sdk-ios.git
Revision (git rev-parse @):
40bcd3c5ff3cee1308d6cf40d7f9d102f9b5004a
SUCCESS checkout https://github.com/appmetrica/appmetrica-sdk-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/appmetrica/Kiwi
Fetching https://github.com/kstenerud/KSCrash
[1/5815] Fetching kiwi
[1862/23885] Fetching kiwi, kscrash
Fetched https://github.com/appmetrica/Kiwi from cache (1.05s)
Fetched https://github.com/kstenerud/KSCrash from cache (1.06s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (1.11s)
Computing version for https://github.com/kstenerud/KSCrash
warning: 'kscrash': /Package.swift:4:17: remark: '@preconcurrency' attribute on module 'PackageDescription' is unused
@preconcurrency import PackageDescription
~~~~~~~~~~~~~~~~^
Computed https://github.com/kstenerud/KSCrash at 2.1.2 (0.65s)
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.1.2
Creating working copy for https://github.com/appmetrica/Kiwi
Working copy of https://github.com/appmetrica/Kiwi resolved at 3.0.1-spm
warning: 'kscrash': /host/spi-builder-workspace/.build/checkouts/KSCrash/Package.swift:4:17: remark: '@preconcurrency' attribute on module 'PackageDescription' is unused
@preconcurrency import PackageDescription
~~~~~~~~~~~~~~~~^
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 '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...
[0/613] Copying PrivacyInfo.xcprivacy
While building module 'AppMetricaNetwork' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAHTTPRequestsFactoryMock.m:2:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AppMetricaNetwork.h:3:
In file included from /host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AMAGenericRequest.h:2:
/host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AMARequest.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaNetwork' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAHTTPRequestsFactoryMock.m:2:
While building module 'AppMetricaCoreUtils' imported from /host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AMARequestParameters.h:2:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AppMetricaCoreUtils.h:4:
/host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AMAArrayIterator.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAHTTPRequestsFactoryMock.m:2:9: fatal error: could not build module 'AppMetricaNetwork'
#import <AppMetricaNetwork/AppMetricaNetwork.h>
 ~~~~~~~^
While building module 'AppMetricaStorageUtils' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAIncrementableValueStorageMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaStorageUtils/Sources/include/AppMetricaStorageUtils/AppMetricaStorageUtils.h:3:
In file included from /host/spi-builder-workspace/AppMetricaStorageUtils/Sources/include/AppMetricaStorageUtils/AMADiskFileStorage.h:2:
/host/spi-builder-workspace/AppMetricaStorageUtils/Sources/include/AppMetricaStorageUtils/AMAFileStorage.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaHostState' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAStubHostAppStateProvider.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaHostState/Sources/include/AppMetricaHostState/AppMetricaHostState.h:3:
/host/spi-builder-workspace/AppMetricaHostState/Sources/include/AppMetricaHostState/AMAHostStateProvider.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaKeychain' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAKeychainMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaKeychain/Sources/include/AppMetricaKeychain/AppMetricaKeychain.h:3:
/host/spi-builder-workspace/AppMetricaKeychain/Sources/include/AppMetricaKeychain/AMAKeychainStoring.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
[21/613] Compiling AppMetricaTestUtils AMAHTTPRequestsFactoryMock.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/NSObject+Swizzling.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[21/613] Compiling AppMetricaTestUtils NSObject+Swizzling.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/CLLocation+TestUtilities.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaCoreUtils' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AppMetricaCoreUtils.h:4:
/host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AMAArrayIterator.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaNetwork' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAHTTPRequestsFactoryMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AppMetricaNetwork.h:3:
In file included from /host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AMAGenericRequest.h:2:
/host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AMARequest.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[21/613] Compiling AppMetricaTestUtils CLLocation+TestUtilities.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAUserDefaultsMock.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaCoreUtils' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AppMetricaCoreUtils.h:4:
/host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AMAArrayIterator.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[21/613] Compiling AppMetricaTestUtils AMAUserDefaultsMock.m
[21/613] Compiling AppMetricaTestUtils AMAIncrementableValueStorageMock.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMADateProviderMock.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaCoreUtils' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AppMetricaCoreUtils.h:4:
/host/spi-builder-workspace/AppMetricaCoreUtils/Sources/include/AppMetricaCoreUtils/AMAArrayIterator.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaNetwork' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAHTTPRequestsFactoryMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AppMetricaNetwork.h:3:
In file included from /host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AMAGenericRequest.h:2:
/host/spi-builder-workspace/AppMetricaNetwork/Sources/include/AppMetricaNetwork/AMARequest.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaStorageUtils' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAIncrementableValueStorageMock.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaStorageUtils/Sources/include/AppMetricaStorageUtils/AppMetricaStorageUtils.h:3:
In file included from /host/spi-builder-workspace/AppMetricaStorageUtils/Sources/include/AppMetricaStorageUtils/AMADiskFileStorage.h:2:
/host/spi-builder-workspace/AppMetricaStorageUtils/Sources/include/AppMetricaStorageUtils/AMAFileStorage.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaHostState' imported from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAStubHostAppStateProvider.h:3:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaHostState/Sources/include/AppMetricaHostState/AppMetricaHostState.h:3:
/host/spi-builder-workspace/AppMetricaHostState/Sources/include/AppMetricaHostState/AMAHostStateProvider.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[21/613] Compiling AppMetricaTestUtils AMADateProviderMock.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAHTTPSessionProviderMock.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[21/613] Compiling AppMetricaTestUtils AMAHTTPSessionProviderMock.m
[21/613] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux