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 analytics-connector-ios, reference main (4adbfe), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 21:02:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amplitude/analytics-connector-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amplitude/analytics-connector-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4adbfe8 chore(release): 1.3.1 [skip ci]
Cloned https://github.com/amplitude/analytics-connector-ios.git
Revision (git rev-parse @):
4adbfe85486e6dcdcdca5fa9362097ffe5ec712b
SUCCESS checkout https://github.com/amplitude/analytics-connector-ios.git at main
[5503/7515307] Downloading https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
Downloading binary artifact https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
Downloaded https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip (1.46s)
========================================
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": "analytics-connector-ios",
      "name": "analytics-connector-ios",
      "url": "https://github.com/amplitude/analytics-connector-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/analytics-connector-ios",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/amplitude/analytics-connector-ios.git
[1/343] Fetching analytics-connector-ios
Fetched https://github.com/amplitude/analytics-connector-ios.git from cache (0.80s)
Creating working copy for https://github.com/amplitude/analytics-connector-ios.git
Working copy of https://github.com/amplitude/analytics-connector-ios.git resolved at main (4adbfe8)
Fetching binary artifact https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip from cache
Fetched https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip from cache (0.41s)
warning: '.resolve-product-dependencies': dependency 'analytics-connector-ios' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/amplitude/analytics-connector-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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: 'spi-builder-workspace': target at '/Users/admin/builder/spi-builder-workspace/Tests/AnalyticsConnectorTests' contains mixed language source files; feature not supported
BUILD FAILURE 6.0 macosSpm