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 (5d385c), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 19:27:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 5d385c6 Add Anonymous activation policy; Add AMA prefix to classes commit_hash:f17cd8c7fec8321ac59d090da966ccb200884f70
Cloned https://github.com/appmetrica/appmetrica-sdk-ios.git
Revision (git rev-parse @):
5d385c6d401b216fbaf1d86a72a54fa390069e26
SUCCESS checkout https://github.com/appmetrica/appmetrica-sdk-ios.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/appmetrica/Kiwi
Fetching https://github.com/kstenerud/KSCrash
[1/5815] Fetching kiwi
[5816/22099] Fetching kiwi, kscrash
Fetched https://github.com/appmetrica/Kiwi from cache (0.51s)
[7654/16284] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (1.04s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.1.2 (3.45s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.44s)
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.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 '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...
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAKeychainMock.m:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAKeyValueStorageDataProvidingMock.m:1:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMAKeyValueStorageDataProvidingMock.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/609] Compiling AppMetricaTestUtils AMAKeyValueStorageDataProvidingMock.m
[0/609] Compiling AppMetricaTestUtils AMAKeychainMock.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAModuleBundleProvider.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/609] Compiling AppMetricaTestUtils AMAModuleBundleProvider.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/609] Compiling AppMetricaTestUtils AMAIncrementableValueStorageMock.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMALocaleMock.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/609] Compiling AppMetricaTestUtils AMALocaleMock.m
[0/609] Compiling AppMetricaTestUtils AMAKeyValueStorageMock.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAHTTPRequestsFactoryMock.m:2:
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
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/609] Compiling AppMetricaTestUtils AMAHTTPRequestsFactoryMock.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
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/609] Compiling AppMetricaTestUtils AMAHTTPSessionProviderMock.m
BUILD FAILURE 6.2 wasm