Build Information
Failed to build AppMetricaPush, reference main (06899f), with Swift 6.1 for Android on 24 Sep 2026 17:24:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build 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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/appmetrica/push-sdk-ios.git
https://github.com/appmetrica/push-sdk-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/appmetrica/Kiwi
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
[1/5899] Fetching kiwi
[5900/16715] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/Kiwi from cache (0.93s)
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.93s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 6.7.0 (1.36s)
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/kstenerud/KSCrash
[1/48480] Fetching kscrash
[2910/102678] Fetching kscrash, swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (10.02s)
Fetched https://github.com/kstenerud/KSCrash from cache (10.18s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.5.1 (10.49s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.38.1 (0.27s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.27s)
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/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.38.1
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/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.5.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] Write sources
[1/520] Copying PrivacyInfo.xcprivacy
[7/520] Write sources
[9/520] Copying PrivacyInfo.xcprivacy
[10/520] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaLog.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaCoreExtension.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 AppMetricaCoreExtension resource_bundle_accessor.m
[17/520] Compiling AppMetricaLog resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaLog.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 AppMetricaLog AMALogOutputFactory.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaLog.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 AppMetricaLog AMALogMessageFormatterFactory.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaLog.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 AppMetricaLog AMAOSLogMiddleware.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaLog.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[17/520] Compiling AppMetricaLog AMALogOutput.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaLog.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[17/520] Compiling AppMetricaLog AMATTYLogMiddleware.m
[17/520] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
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
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/504] Compiling AppMetricaStorageUtils resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/504] Compiling AppMetricaStorageUtils AMAUserDefaultsKVSDataProvider.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/504] Compiling AppMetricaStorageUtils AMAIncrementableValueStorage.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/504] Compiling AppMetricaStorageUtils AMAUserDefaultsStorage.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/504] Compiling AppMetricaStorageUtils AMARollbackHolder.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/504] Compiling AppMetricaStorageUtils AMADiskFileStorage.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/504] Compiling AppMetricaStorageUtils AMAIncrementableValueStorageFactory.m
[1/504] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android