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 3.0.2 (a49613), with Swift 6.0 for macOS (SPM) on 26 Feb 2025 10:48:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/push-sdk-ios.git
Reference: 3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appmetrica/push-sdk-ios
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at a496137 AppMetrica Push version up 3.0.2 commit_hash:50341d8856c5bb6fd9136a403d7a513ccd6821e7
Cloned https://github.com/appmetrica/push-sdk-ios.git
Revision (git rev-parse @):
a4961376e15c930a9f0dcaccecedc3d88fb1f478
SUCCESS checkout https://github.com/appmetrica/push-sdk-ios.git at 3.0.2
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
Fetching https://github.com/kstenerud/KSCrash
Fetching https://github.com/appmetrica/Kiwi
[1/5815] Fetching kiwi
[1630/12014] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/Kiwi from cache (0.61s)
[1/15672] Fetching kscrash
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.94s)
Fetched https://github.com/kstenerud/KSCrash from cache (0.94s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 5.9.0 (0.50s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.52s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.0.0-rc.4 (0.55s)
Creating working copy for https://github.com/appmetrica/appmetrica-sdk-ios
Working copy of https://github.com/appmetrica/appmetrica-sdk-ios resolved at 5.9.0
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.0.0-rc.4
Creating working copy for https://github.com/appmetrica/Kiwi
Working copy of https://github.com/appmetrica/Kiwi resolved at 3.0.1-spm
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "push-sdk-ios",
      "name": "AppMetricaPush",
      "url": "https://github.com/appmetrica/push-sdk-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/push-sdk-ios",
      "dependencies": [
        {
          "identity": "appmetrica-sdk-ios",
          "name": "AppMetrica",
          "url": "https://github.com/appmetrica/appmetrica-sdk-ios",
          "version": "5.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/appmetrica-sdk-ios",
          "dependencies": [
            {
              "identity": "kscrash",
              "name": "KSCrash",
              "url": "https://github.com/kstenerud/KSCrash",
              "version": "2.0.0-rc.8",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KSCrash",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/appmetrica/push-sdk-ios.git
[8/370] Fetching push-sdk-ios
Fetched https://github.com/appmetrica/push-sdk-ios.git from cache (0.53s)
Fetching https://github.com/appmetrica/appmetrica-sdk-ios from cache
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.33s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 5.9.0 (0.03s)
Fetching https://github.com/kstenerud/KSCrash from cache
Fetched https://github.com/kstenerud/KSCrash from cache (0.32s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.0.0-rc.8 (0.02s)
Creating working copy for https://github.com/appmetrica/appmetrica-sdk-ios
Working copy of https://github.com/appmetrica/appmetrica-sdk-ios resolved at 5.9.0
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.0.0-rc.8
Creating working copy for https://github.com/appmetrica/push-sdk-ios.git
Working copy of https://github.com/appmetrica/push-sdk-ios.git resolved at 3.0.2 (a496137)
warning: '.resolve-product-dependencies': dependency 'push-sdk-ios' is not used by any target
Found 1 product dependencies
  - AppMetrica
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/appmetrica/push-sdk-ios.git
https://github.com/appmetrica/push-sdk-ios.git
{
  "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" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.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" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
error: the library 'AppMetricaCrashes' requires macos 10.13, but depends on the product 'Recording' which requires macos 10.14; consider changing the library 'AppMetricaCrashes' to require macos 10.14 or later, or the product 'Recording' to require macos 10.13 or earlier.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
error: the library 'AppMetricaCrashes' requires macos 10.13, but depends on the product 'Recording' which requires macos 10.14; consider changing the library 'AppMetricaCrashes' to require macos 10.14 or later, or the product 'Recording' to require macos 10.13 or earlier.
BUILD FAILURE 6.0 macosSpm