The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppMetricaPush, reference 3.4.0 (11ffd3), with Swift 6.1 for Wasm on 7 Apr 2026 18:25:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/push-sdk-ios.git
Reference: 3.4.0
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
 * tag               3.4.0      -> FETCH_HEAD
HEAD is now at 11ffd31 AppMetricaPush iOS version up 3.4.0 commit_hash:b89263e0980f2cdddc915d0dbacfc4c9c7649a4c
Cloned https://github.com/appmetrica/push-sdk-ios.git
Revision (git rev-parse @):
11ffd31a8d3bdd640ade67beb87bf122cd0b904d
SUCCESS checkout https://github.com/appmetrica/push-sdk-ios.git at 3.4.0
========================================
Build
========================================
Selected platform:         wasm
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
{
  "dependencies" : [
    {
      "identity" : "appmetrica-sdk-ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.2.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/appmetrica/appmetrica-sdk-ios"
    },
    {
      "identity" : "kiwi",
      "requirement" : {
        "exact" : [
          "3.0.1-spm"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/appmetrica/Kiwi"
    }
  ],
  "manifest_display_name" : "AppMetricaPush",
  "name" : "AppMetricaPush",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AppMetricaPush",
      "targets" : [
        "AppMetricaPush"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppMetricaPushLazy",
      "targets" : [
        "AppMetricaPushLazy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppMetricaPushTests",
      "module_type" : "ClangTarget",
      "name" : "AppMetricaPushTests",
      "path" : "AppMetricaPush/Tests",
      "product_dependencies" : [
        "Kiwi",
        "AppMetricaCore",
        "AppMetricaLibraryAdapter"
      ],
      "sources" : [
        "AMPAnalyticsProxyTests.m",
        "AMPApplicationStateProviderTests.m",
        "AMPAttachmentsControllerTests.m",
        "AMPAttachmentsLoaderTests.m",
        "AMPCurrentQueueExecutor.m",
        "AMPDeviceTokenParserTests.m",
        "AMPDispatchQueueWhenActiveStateExecutorTests.m",
        "AMPEnvironmentProviderTests.m",
        "AMPEventsControllerTests.m",
        "AMPEventsReporterBridgeTests.m",
        "AMPEventsReporterTests.m",
        "AMPLibraryAnalyticsEnvironmentProviderTests.m",
        "AMPLibraryAnalyticsReporterTests.m",
        "AMPManualExecutor.m",
        "AMPPendingPushControllerTests.m",
        "AMPPendingPushSerializerTests.m",
        "AMPPendingPushStorageTests.m",
        "AMPPushNotificationControllerTests.m",
        "AMPPushNotificationPayloadParserTests.m",
        "AMPPushNotificationPayloadValidatorTests.m",
        "AMPTargetURLHandlerTests.m",
        "AMPTokenEventModelProviderTests.m",
        "AMPTokenEventValueSerializerTests.m",
        "AMPTrackingDeduplicationControllerTests.m",
        "AMPUserNotificationCenterControllerTests.m",
        "AMPUserNotificationCenterHandlerTests.m",
        "AMPYandexMetricaPushTests.m",
        "AMPYandexMetricaPushTrackerTests.m",
        "Mocks/AMPEventsReporterBridgeMock.m",
        "Mocks/AMPEventsReporterMock.m",
        "Mocks/AMPUserNotificationCenterControllerMock.m",
        "Utilities/AMPTestUtilities.m"
      ],
      "target_dependencies" : [
        "AppMetricaPush"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppMetricaPushLazyTests",
      "module_type" : "ClangTarget",
      "name" : "AppMetricaPushLazyTests",
      "path" : "AppMetricaPushLazy/Tests",
      "product_dependencies" : [
        "Kiwi",
        "AppMetricaCore",
        "AppMetricaLibraryAdapter"
      ],
      "sources" : [
        "AMPLazyNotificationContentMergerTests.m",
        "AMPLazyPayloadDefaultsHelperTests.m",
        "AMPLocationProviderTests.m",
        "AMPLocationUtilsTests.m"
      ],
      "target_dependencies" : [
        "AppMetricaPush",
        "AppMetricaPushLazy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppMetricaPushLazy",
      "module_type" : "ClangTarget",
      "name" : "AppMetricaPushLazy",
      "path" : "AppMetricaPushLazy/Sources",
      "product_dependencies" : [
        "AppMetricaCore",
        "AppMetricaLibraryAdapter"
      ],
      "product_memberships" : [
        "AppMetricaPushLazy"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/AppMetricaPushLazy/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AMPLazyNetworkHelper.m",
        "AMPLazyNotificationContentMerger.m",
        "AMPLazyPayloadDefaultsHelper.m",
        "AMPLazyPushProcessor.m",
        "AMPLocationProvider.m",
        "AMPLocationUtils.m"
      ],
      "target_dependencies" : [
        "AppMetricaPush"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppMetricaPush",
      "module_type" : "ClangTarget",
      "name" : "AppMetricaPush",
      "path" : "AppMetricaPush/Sources",
      "product_dependencies" : [
        "AppMetricaCore",
        "AppMetricaLibraryAdapter"
      ],
      "product_memberships" : [
        "AppMetricaPush",
        "AppMetricaPushLazy"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/AppMetricaPush/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AMPAnalyticsProxy.m",
        "AMPAppMetricaPush.m",
        "AMPApplication.m",
        "AMPApplicationStateProvider.m",
        "AMPAttachmentPayload.m",
        "AMPAttachmentsController.m",
        "AMPAttachmentsLoader.m",
        "AMPDeviceTokenParser.m",
        "AMPDispatchQueueWhenActiveStateExecutor.m",
        "AMPEnvironmentProvider.m",
        "AMPEventsController.m",
        "AMPEventsReporter.m",
        "AMPEventsReporterBridge.m",
        "AMPLazyLocationPayload.m",
        "AMPLazyPayload.m",
        "AMPLibraryAnalyticsEnvironmentProvider.m",
        "AMPLibraryAnalyticsTracker.m",
        "AMPPushAttachmentProcessor.m",
        "AMPPushController.m",
        "AMPPushMetricaTracker.m",
        "AMPPushNotificationController.m",
        "AMPPushNotificationPayload.m",
        "AMPPushNotificationPayloadParser.m",
        "AMPPushNotificationPayloadValidator.m",
        "AMPPushNotificationProcessor.m",
        "AMPSubscribedNotification.m",
        "AMPTargetURLHandler.m",
        "AMPTokenEvent.m",
        "AMPTokenEventModelProvider.m",
        "AMPTokenEventValueSerializer.m",
        "AMPTrackingDeduplicationController.m",
        "AMPUserNotificationCenterController.m",
        "AMPUserNotificationCenterHandler.m",
        "Lazy/AMPLazyPushProvider.m",
        "Pending/AMPPendingPush.m",
        "Pending/AMPPendingPushController.m",
        "Pending/AMPPendingPushSerializer.m",
        "Pending/AMPPendingPushStorage.m",
        "Utils/NSURL+EncodingCharactersInit.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/appmetrica/Kiwi
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
[1/5899] Fetching kiwi
[1358/14848] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (1.40s)
Fetched https://github.com/appmetrica/Kiwi from cache (1.43s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 6.2.0 (2.84s)
Fetching https://github.com/kstenerud/KSCrash
[1/24853] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (2.13s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.5.1 (3.34s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (1.07s)
Creating working copy for https://github.com/appmetrica/appmetrica-sdk-ios
Working copy of https://github.com/appmetrica/appmetrica-sdk-ios resolved at 6.2.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/appmetrica/Kiwi
Working copy of https://github.com/appmetrica/Kiwi resolved at 3.0.1-spm
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
Building for debugging...
[0/497] Write sources
[0/497] Copying PrivacyInfo.xcprivacy
[0/497] Write sources
[0/497] Copying PrivacyInfo.xcprivacy
[0/497] Write sources
[7/497] Copying PrivacyInfo.xcprivacy
[7/497] Write sources
[8/497] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[16/497] Compiling AppMetricaStorageUtils AMAIncrementableValueStorage.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[16/497] Compiling AppMetricaStorageUtils resource_bundle_accessor.m
[16/497] Compiling AppMetricaStorageUtils AMAUserDefaultsStorage.m
[16/497] Compiling AppMetricaStorageUtils AMAIncrementableValueStorageFactory.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaStorageUtils.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[16/497] Compiling AppMetricaStorageUtils AMARollbackHolder.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[16/497] Compiling AppMetricaStorageUtils AMAUserDefaultsKVSDataProvider.m
[16/497] Compiling AppMetricaStorageUtils AMADiskFileStorage.m
[16/497] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-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
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/481] Compiling AppMetricaStorageUtils resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/481] Compiling AppMetricaStorageUtils AMAUserDefaultsKVSDataProvider.m
[0/481] Compiling AppMetricaStorageUtils AMARollbackHolder.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/481] Compiling AppMetricaStorageUtils AMADiskFileStorage.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/481] Compiling AppMetricaStorageUtils AMAIncrementableValueStorageFactory.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/481] Compiling AppMetricaStorageUtils AMAIncrementableValueStorage.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/481] Compiling AppMetricaStorageUtils AMAUserDefaultsStorage.m
[0/481] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm