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 AppMetricaPush, reference 3.1.0 (bca050), with Swift 6.1 for Wasm on 31 May 2025 03:57:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/push-sdk-ios.git
Reference: 3.1.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.1.0      -> FETCH_HEAD
HEAD is now at bca0509 set deployment target to 13 commit_hash:2eceeee3e018d20667052b6e5c0856096f9c511f
Cloned https://github.com/appmetrica/push-sdk-ios.git
Revision (git rev-parse @):
bca0509fe9723549230d824b3f5b7452a05aafef
SUCCESS checkout https://github.com/appmetrica/push-sdk-ios.git at 3.1.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" : "5.9.0",
            "upper_bound" : "6.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"
      ],
      "sources" : [
        "AMPApplicationStateProviderTests.m",
        "AMPAttachmentsControllerTests.m",
        "AMPAttachmentsLoaderTests.m",
        "AMPCurrentQueueExecutor.m",
        "AMPDeviceTokenParserTests.m",
        "AMPDispatchQueueWhenActiveStateExecutorTests.m",
        "AMPEnvironmentProviderTests.m",
        "AMPEventsControllerTests.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"
      ],
      "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"
      ],
      "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"
      ],
      "product_memberships" : [
        "AppMetricaPush",
        "AppMetricaPushLazy"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/AppMetricaPush/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/appmetrica/Kiwi
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
[1/5815] Fetching kiwi
[1920/12488] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/Kiwi from cache (0.62s)
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.71s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 5.11.0 (1.70s)
Fetching https://github.com/kstenerud/KSCrash
[1/16356] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (1.05s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.0.0 (1.63s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (1.37s)
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 5.11.0
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.0.0
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/48] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLazyPushProcessor.m
[2/48] Compiling AppMetricaPushLazy AMPLazyNotificationContentMerger.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLocationProvider.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLocationUtils.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLazyPayloadDefaultsHelper.m
[2/48] Compiling NSURL+EncodingCharactersInit.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLazyNetworkHelper.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/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/AppMetricaPush.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/AppMetricaPush.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/46] Compiling AMPPendingPushSerializer.m
[0/46] Compiling NSURL+EncodingCharactersInit.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPush.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/46] Compiling AMPPendingPush.m
[0/46] Compiling AMPLazyPushProvider.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppMetricaPush.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/46] Compiling AMPPendingPushStorage.m
[0/46] Compiling AppMetricaPush AMPUserNotificationCenterHandler.m
[0/46] Compiling AMPPendingPushController.m
[0/46] Compiling AppMetricaPush AMPUserNotificationCenterController.m
BUILD FAILURE 6.1 wasm