The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AmplitudeCore, reference v1.6.1 (0d978c), with Swift 6.2 for Android on 31 Oct 2026 21:50:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amplitude/AmplitudeCore-Swift.git
Reference: v1.6.1
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/amplitude/AmplitudeCore-Swift
 * tag               v1.6.1     -> FETCH_HEAD
HEAD is now at 0d978ce chore(release): 1.6.1 [skip ci]
Cloned https://github.com/amplitude/AmplitudeCore-Swift.git
Revision (git rev-parse @):
0d978cebcc9fa59831b0484c46f491d405f393b2
SUCCESS checkout https://github.com/amplitude/AmplitudeCore-Swift.git at v1.6.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amplitude/AmplitudeCore-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9e4b64e17859f153444a8085b41803f96a8252f8f76139cd5e69e2540803aa5a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCore.zip
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCoreNoUIKit.zip
[15514/21326591] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCore.zip
[39609/40273986] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCore.zip, https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCoreNoUIKit.zip
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCoreNoUIKit.zip (1.24s)
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCore.zip (1.35s)
Building for debugging...
[0/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/59] Emitting module AmplitudeCore
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/62] Emitting module AmplitudeCoreNoUIKit
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[8/65] Compiling AmplitudeCoreNoUIKit OSLogger.swift
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[9/65] Compiling AmplitudeCoreNoUIKit AnalyticsClient.swift
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[10/65] Compiling AmplitudeCoreNoUIKit AnalyticsEvent.swift
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[11/65] Compiling AmplitudeCoreNoUIKit AnalyticsEventSnapshot.swift
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[12/65] Compiling AmplitudeCore DiagnosticsClient.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[13/65] Compiling AmplitudeCore DiagnosticsStorage.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[14/65] Compiling AmplitudeCore InterfaceSignal.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[15/65] Compiling AmplitudeCore CoreLogger.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[16/65] Compiling AmplitudeCoreNoUIKit JSONValue.swift
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[17/65] Compiling AmplitudeCoreNoUIKit Sample.swift
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[18/65] Compiling AmplitudeCoreNoUIKit Storage.swift
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[19/65] Compiling AmplitudeCore AnalyticsIdentity.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[20/65] Compiling AmplitudeCore PluginHost.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[21/65] Compiling AmplitudeCore UniversalPlugin.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[22/65] Compiling AmplitudeCore RemoteConfigClient.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[26/65] Compiling AmplitudeCoreNoUIKit StringExtension.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[27/65] Compiling AmplitudeCoreNoUIKit URLSessionHttpClient.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[28/65] Compiling AmplitudeCoreNoUIKit resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[29/65] Compiling AmplitudeCoreNoUIKit AnalyticsIdentity.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[30/65] Compiling AmplitudeCoreNoUIKit PluginHost.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[31/65] Compiling AmplitudeCoreNoUIKit UniversalPlugin.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[32/65] Compiling AmplitudeCoreNoUIKit RemoteConfigClient.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[33/65] Compiling AmplitudeCore HttpClient+Internal.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[34/65] Compiling AmplitudeCore HttpClient.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[35/65] Compiling AmplitudeCore HttpUtil.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[36/65] Compiling AmplitudeCore ServerZone.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[37/65] Compiling AmplitudeCore AppEnvironment.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[38/65] Compiling AmplitudeCore CodableExtension.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
[39/65] Compiling AmplitudeCore CrashCatcher.swift
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCore/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Logger/OSLogger.swift:8:8: error: no such module 'OSLog'
 6 | //
 7 |
 8 | import OSLog
   |        `- error: no such module 'OSLog'
 9 |
10 | public final class OSLogger: CoreLogger {
BUILD FAILURE 6.2 android