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 main (403cb3), with Swift 6.1 for Linux on 26 Aug 2025 06:16:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 403cb3c send url on open event commit_hash:331e3fae515882d761abc6957aef26cba331575f
Cloned https://github.com/appmetrica/push-sdk-ios.git
Revision (git rev-parse @):
403cb3c7bcb7f47b4ca3291d265ea3e5c18c83d4
SUCCESS checkout https://github.com/appmetrica/push-sdk-ios.git at main
========================================
Build
========================================
Selected platform:         linux
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
Fetching https://github.com/appmetrica/Kiwi
[1/5815] Fetching kiwi
[1920/12996] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.69s)
Fetched https://github.com/appmetrica/Kiwi from cache (0.69s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 5.12.1 (1.36s)
Fetching https://github.com/kstenerud/KSCrash
[1/18350] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (0.95s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.1.2 (2.86s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.72s)
Creating working copy for https://github.com/appmetrica/appmetrica-sdk-ios
Working copy of https://github.com/appmetrica/appmetrica-sdk-ios resolved at 5.12.1
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.1.2
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/48] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
[2/48] Compiling AppMetricaPush resource_bundle_accessor.m
[2/48] Compiling AppMetricaPushLazy AMPLazyNetworkHelper.m
[2/48] Compiling AppMetricaPushLazy AMPLazyNotificationContentMerger.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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/x86_64-unknown-linux-gnu/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/48] Compiling AppMetricaPushLazy AMPLocationUtils.m
[2/48] Compiling AppMetricaPushLazy AMPLazyPushProcessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/48] Compiling AppMetricaPushLazy AMPLocationProvider.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/x86_64-unknown-linux-gnu/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 AppMetricaPush resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 NSURL+EncodingCharactersInit.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 AppMetricaPush AMPUserNotificationCenterHandler.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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 AMPPendingPushController.m
[0/46] Compiling AMPLazyPushProvider.m
BUILD FAILURE 6.1 linux