The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppMetricaPush, reference main (06899f), with Swift 6.2 for Linux on 24 Sep 2026 17:23:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/push-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/push-sdk-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 06899fb Raise minimum iOS/tvOS deployment target to 15
Cloned https://github.com/appmetrica/push-sdk-ios.git
Revision (git rev-parse @):
06899fbcb7e84f209082c75f7a445bebf8301865
SUCCESS checkout https://github.com/appmetrica/push-sdk-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/appmetrica/push-sdk-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:813c8e8a77634154d7d247705cb89167ff1c866446abbe321f542129dc4cf5a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
Fetching https://github.com/appmetrica/Kiwi
[1/5899] Fetching kiwi
[1948/16715] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/Kiwi from cache (0.76s)
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.76s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 6.7.0 (1.11s)
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/kstenerud/KSCrash
[1/48480] Fetching kscrash
[2425/102678] Fetching kscrash, swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (6.78s)
[15999/48480] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (10.83s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.5.1 (11.05s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.38.1 (0.18s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.18s)
Creating working copy for https://github.com/appmetrica/Kiwi
Working copy of https://github.com/appmetrica/Kiwi resolved at 3.0.1-spm
Creating working copy for https://github.com/appmetrica/appmetrica-sdk-ios
Working copy of https://github.com/appmetrica/appmetrica-sdk-ios resolved at 6.7.0
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.5.1
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.38.1
warning: 'spi-builder-workspace': ignoring target 'AppMetricaPushTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaPushLazyTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/520] Copying PrivacyInfo.xcprivacy
[1/520] Write sources
[1/520] Copying PrivacyInfo.xcprivacy
[5/520] Write sources
[5/520] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPlatform.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[17/520] Compiling AppMetricaPlatform resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPlatform.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[17/520] Compiling AppMetricaPlatform NSBundle+ApplicationBundle.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPlatform.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[17/520] Compiling AppMetricaPlatform AMAPlatformCurrentState.m
[17/520] Compiling AppMetricaPlatform AMASecItemOperationResult.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[17/520] Compiling AppMetricaStorageUtils resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPlatform.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[17/520] Compiling AppMetricaPlatform AMAPlatformLocaleState.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPlatform.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[17/520] Compiling AppMetricaPlatform AMAPlatformDescription.m
[17/520] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux