The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AppMetricaPush, reference main (bca050), with Swift 6.1 for Linux on 6 May 2025 12:21:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.61.3
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 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 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" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/12360] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/Kiwi from cache (0.54s)
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.56s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 5.10.0 (1.18s)
Fetching https://github.com/kstenerud/KSCrash
[1/16035] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (0.93s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.0.0 (2.22s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.67s)
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.10.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/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 AMPLocationUtils.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 AMPLocationProvider.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLazyNetworkHelper.m
[2/48] Compiling AppMetricaPushLazy AMPLazyPayloadDefaultsHelper.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 AMPLazyPushProcessor.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 NSURL+EncodingCharactersInit.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.
[2/48] Compiling AppMetricaPushLazy AMPLazyNotificationContentMerger.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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 AMPPendingPush.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.
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
[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 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 AMPLazyPushProvider.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
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 AMPUserNotificationCenterHandler.m
BUILD FAILURE 6.1 linux