The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AmplitudeCore, reference main (f223c9), with Swift 6.2 for Android on 8 Nov 2026 00:52:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/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: 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/amplitude/AmplitudeCore-Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f223c90 chore(deps): update release tooling to fix undici security findings (#125)
Cloned https://github.com/amplitude/AmplitudeCore-Swift.git
Revision (git rev-parse @):
f223c903529bbc65557061026db1c45206d2983c
SUCCESS checkout https://github.com/amplitude/AmplitudeCore-Swift.git at main
========================================
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-54344846-0":/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:4d5a78170bd55d4f3692b7d4b22644bd314dfc2fffe9d773fe7a8a0436f96b5c
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
[7725/21326591] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCore.zip
[116546/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.54s)
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.6.1/AmplitudeCore.zip (1.64s)
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[2/5] Write sources
[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 {
[7/62] Compiling AmplitudeCoreNoUIKit OSLogger.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 {
[8/62] Compiling AmplitudeCoreNoUIKit AnalyticsClient.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 {
[9/62] Compiling AmplitudeCoreNoUIKit AnalyticsEvent.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 {
[10/62] Compiling AmplitudeCoreNoUIKit AnalyticsEventSnapshot.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 {
[11/62] 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 {
[12/62] 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 {
[13/62] 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 {
[14/62] 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 {
[15/62] Compiling AmplitudeCoreNoUIKit CoreDiagnostics.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/62] Compiling AmplitudeCoreNoUIKit 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 {
[17/62] Compiling AmplitudeCoreNoUIKit 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 {
[18/62] Compiling AmplitudeCoreNoUIKit 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 {
[19/62] Compiling AmplitudeCoreNoUIKit 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 {
[20/62] Compiling AmplitudeCoreNoUIKit 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 {
[21/62] Compiling AmplitudeCoreNoUIKit 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 {
[22/62] Compiling AmplitudeCoreNoUIKit ServerZone.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 {
[23/62] Compiling AmplitudeCoreNoUIKit AppEnvironment.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 {
[24/62] Compiling AmplitudeCoreNoUIKit CodableExtension.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 {
[25/62] Compiling AmplitudeCoreNoUIKit CrashCatcher.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 {
/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 {
[30/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 {
[31/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 {
[32/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 {
/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 {
[35/65] Compiling AmplitudeCoreNoUIKit HttpUtil.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 {
/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 {
[40/65] Compiling AmplitudeCoreNoUIKit Constants.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 {
[41/65] Compiling AmplitudeCoreNoUIKit AmplitudeContext.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 {
[42/65] Compiling AmplitudeCoreNoUIKit CoreDevice.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
/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 {
[47/65] 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 {
[48/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 {
[49/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 {
[50/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 {
/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 {
/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/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 {
BUILD FAILURE 6.2 android