Build Information
Failed to build MixpanelSwiftCommon, reference main (27a8e4), with Swift 6.1 for Android on 22 Nov 2026 01:59:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 27a8e46 chore: deprecate CocoaPods support in favor of Swift Package Manager (#27)
Cloned https://github.com/mixpanel/mixpanel-swift-common.git
Revision (git rev-parse @):
27a8e46a77d309dc5e2485f04f1d7fe404b66ceb
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-54344847-2":/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:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
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/12] Compiling MixpanelSwiftCommon JsonLogic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Compiling MixpanelSwiftCommon SemanticVersion.swift
[5/13] 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/13] Compiling MixpanelSwiftCommon MixpanelJSONLogicRule.swift
[7/13] Compiling MixpanelSwiftCommon JSON.swift
[8/13] 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/13] 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
[10/13] Compiling MixpanelSwiftCommon MixpanelIdentity.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/13] Compiling MixpanelSwiftCommon Constants.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 |
[12/13] 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 |
[13/13] Compiling MixpanelSwiftCommon Parser.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/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:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/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
[3/12] Compiling MixpanelSwiftCommon JsonLogic.swift
[4/12] Compiling MixpanelSwiftCommon Constants.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 |
[5/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 |
[6/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
[7/12] Compiling MixpanelSwiftCommon MixpanelIdentity.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
[8/12] Compiling MixpanelSwiftCommon SemanticVersion.swift
[9/12] Compiling MixpanelSwiftCommon MixpanelJSONLogicRule.swift
[10/12] Compiling MixpanelSwiftCommon JSON.swift
[11/12] Compiling MixpanelSwiftCommon Rfc3339.swift
[12/12] Compiling MixpanelSwiftCommon Parser.swift
BUILD FAILURE 6.1 android