The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MixpanelSwiftCommon, reference main (610ff3), with Swift 6.1 for Android on 4 Oct 2026 03:33:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mixpanel/mixpanel-swift-common.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/mixpanel/mixpanel-swift-common
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 610ff36 release: prepare 2.0.0 (#23)
Cloned https://github.com/mixpanel/mixpanel-swift-common.git
Revision (git rev-parse @):
610ff36228d347ad174f8216c74c9e70bfaa14ab
SUCCESS checkout https://github.com/mixpanel/mixpanel-swift-common.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mixpanel/mixpanel-swift-common.git
https://github.com/mixpanel/mixpanel-swift-common.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling MixpanelSwiftCommon JSON.swift
[4/12] Compiling MixpanelSwiftCommon JsonLogic.swift
[5/12] Compiling MixpanelSwiftCommon Rfc3339.swift
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/Utils/Rfc3339.swift:34:24: warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private static let formatter: ISO8601DateFormatter = {
    |                        |- warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'formatter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         let formatter = ISO8601DateFormatter()
 36 |         formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[6/12] Compiling MixpanelSwiftCommon SemanticVersion.swift
[7/12] Compiling MixpanelSwiftCommon MixpanelJSONLogicRule.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Emitting module MixpanelSwiftCommon
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/MixpanelEventBridge.swift:33:6: error: Objective-C interoperability is disabled
 31 |     // MARK: - Singleton
 32 |     /// Shared instance
 33 |     @objc public static let shared = MixpanelEventBridge()
    |      `- error: Objective-C interoperability is disabled
 34 |
 35 |     // MARK: - Private Properties
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/Utils/Rfc3339.swift:34:24: warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private static let formatter: ISO8601DateFormatter = {
    |                        |- warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'formatter' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         let formatter = ISO8601DateFormatter()
 36 |         formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[9/12] Compiling MixpanelSwiftCommon JSONLogicEvaluator.swift
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/Utils/JSONLogicEvaluator.swift:495:16: error: cannot find 'CFGetTypeID' in scope
493 |             return false
494 |         }
495 |         return CFGetTypeID(number) == CFBooleanGetTypeID()
    |                `- error: cannot find 'CFGetTypeID' in scope
496 |     }
497 |
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/Utils/JSONLogicEvaluator.swift:495:39: error: cannot find 'CFBooleanGetTypeID' in scope
493 |             return false
494 |         }
495 |         return CFGetTypeID(number) == CFBooleanGetTypeID()
    |                                       `- error: cannot find 'CFBooleanGetTypeID' in scope
496 |     }
497 |
[10/12] Compiling MixpanelSwiftCommon MixpanelEventBridge.swift
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/MixpanelEventBridge.swift:33:6: error: Objective-C interoperability is disabled
 31 |     // MARK: - Singleton
 32 |     /// Shared instance
 33 |     @objc public static let shared = MixpanelEventBridge()
    |      `- error: Objective-C interoperability is disabled
 34 |
 35 |     // MARK: - Private Properties
[11/12] Compiling MixpanelSwiftCommon Constants.swift
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/MixpanelEventBridge.swift:33:6: error: Objective-C interoperability is disabled
 31 |     // MARK: - Singleton
 32 |     /// Shared instance
 33 |     @objc public static let shared = MixpanelEventBridge()
    |      `- error: Objective-C interoperability is disabled
 34 |
 35 |     // MARK: - Private Properties
[12/12] Compiling MixpanelSwiftCommon Parser.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling MixpanelSwiftCommon Rfc3339.swift
[3/11] Compiling MixpanelSwiftCommon JsonLogic.swift
[4/11] Compiling MixpanelSwiftCommon MixpanelEventBridge.swift
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/MixpanelEventBridge.swift:33:6: error: Objective-C interoperability is disabled
 31 |     // MARK: - Singleton
 32 |     /// Shared instance
 33 |     @objc public static let shared = MixpanelEventBridge()
    |      `- error: Objective-C interoperability is disabled
 34 |
 35 |     // MARK: - Private Properties
[5/11] Compiling MixpanelSwiftCommon Constants.swift
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/MixpanelEventBridge.swift:33:6: error: Objective-C interoperability is disabled
 31 |     // MARK: - Singleton
 32 |     /// Shared instance
 33 |     @objc public static let shared = MixpanelEventBridge()
    |      `- error: Objective-C interoperability is disabled
 34 |
 35 |     // MARK: - Private Properties
[6/11] Compiling MixpanelSwiftCommon SemanticVersion.swift
[7/11] Compiling MixpanelSwiftCommon MixpanelJSONLogicRule.swift
[8/11] Compiling MixpanelSwiftCommon JSONLogicEvaluator.swift
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/Utils/JSONLogicEvaluator.swift:495:16: error: cannot find 'CFGetTypeID' in scope
493 |             return false
494 |         }
495 |         return CFGetTypeID(number) == CFBooleanGetTypeID()
    |                `- error: cannot find 'CFGetTypeID' in scope
496 |     }
497 |
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/Utils/JSONLogicEvaluator.swift:495:39: error: cannot find 'CFBooleanGetTypeID' in scope
493 |             return false
494 |         }
495 |         return CFGetTypeID(number) == CFBooleanGetTypeID()
    |                                       `- error: cannot find 'CFBooleanGetTypeID' in scope
496 |     }
497 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module MixpanelSwiftCommon
/host/spi-builder-workspace/Sources/MixpanelSwiftCommon/MixpanelEventBridge.swift:33:6: error: Objective-C interoperability is disabled
 31 |     // MARK: - Singleton
 32 |     /// Shared instance
 33 |     @objc public static let shared = MixpanelEventBridge()
    |      `- error: Objective-C interoperability is disabled
 34 |
 35 |     // MARK: - Private Properties
[10/11] Compiling MixpanelSwiftCommon JSON.swift
[11/11] Compiling MixpanelSwiftCommon Parser.swift
BUILD FAILURE 6.1 android