The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AmplitudeCore, reference v1.4.5 (d9d24b), with Swift 6.0 for Linux on 28 Mar 2026 02:46:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amplitude/AmplitudeCore-Swift.git
Reference: v1.4.5
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.4.5     -> FETCH_HEAD
HEAD is now at d9d24b7 chore(release): 1.4.5 [skip ci]
Cloned https://github.com/amplitude/AmplitudeCore-Swift.git
Revision (git rev-parse @):
d9d24b79d4fcb4f1d1dcbc50ae20430afd22ebd0
SUCCESS checkout https://github.com/amplitude/AmplitudeCore-Swift.git at v1.4.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/amplitude/AmplitudeCore-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:1db7dbcaf887dbb499f5976218948969b74406bfba66e3dcc9b7cf6b3e333907
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
[1397/16958154] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip
[18251/36296088] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip, https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCore.zip
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCore.zip
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCoreNoUIKit.zip (5.38s)
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.4.5/AmplitudeCore.zip (5.59s)
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/47] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/49] 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 {
[8/51] Compiling AmplitudeCore StringExtension.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/51] Compiling AmplitudeCore resource_bundle_accessor.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/51] Compiling AmplitudeCore 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 {
[11/51] Compiling AmplitudeCore 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 {
[12/51] Compiling AmplitudeCore 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 {
[15/51] Compiling AmplitudeCore JSONValue.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/51] Compiling AmplitudeCore Sample.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/51] Compiling AmplitudeCore 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 {
[18/51] Compiling AmplitudeCore 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 {
[19/51] Compiling AmplitudeCore CoreDiagnostics.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 {
[20/51] Compiling AmplitudeCore DiagnosticsClient.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 {
[21/51] Compiling AmplitudeCore DiagnosticsStorage.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 {
[25/51] 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 {
[26/51] 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 {
[27/51] 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/Diagnostics/CoreDiagnostics.swift:135:5: error: unexpected ',' separator
133 |          max: Double = -Double.infinity,
134 |          sum: Double = 0,
135 |     ) {
    |     `- error: unexpected ',' separator
136 |         self.count = count
137 |         self.min = min
/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/Diagnostics/CoreDiagnostics.swift:135:5: error: unexpected ',' separator
133 |          max: Double = -Double.infinity,
134 |          sum: Double = 0,
135 |     ) {
    |     `- error: unexpected ',' separator
136 |         self.count = count
137 |         self.min = min
/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/Diagnostics/CoreDiagnostics.swift:135:5: error: unexpected ',' separator
133 |          max: Double = -Double.infinity,
134 |          sum: Double = 0,
135 |     ) {
    |     `- error: unexpected ',' separator
136 |         self.count = count
137 |         self.min = min
/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/51] Compiling AmplitudeCore 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 {
[32/51] Compiling AmplitudeCore 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 {
[33/51] Compiling AmplitudeCore 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 {
[34/51] 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 {
[35/51] 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 {
[36/51] Compiling AmplitudeCore 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 {
/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 {
[39/51] 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 {
/host/spi-builder-workspace/Sources/AmplitudeCoreNoUIKit/Diagnostics/CoreDiagnostics.swift:135:5: error: unexpected ',' separator
133 |          max: Double = -Double.infinity,
134 |          sum: Double = 0,
135 |     ) {
    |     `- error: unexpected ',' separator
136 |         self.count = count
137 |         self.min = min
/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/Diagnostics/CoreDiagnostics.swift:135:5: error: unexpected ',' separator
133 |          max: Double = -Double.infinity,
134 |          sum: Double = 0,
135 |     ) {
    |     `- error: unexpected ',' separator
136 |         self.count = count
137 |         self.min = min
/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/Diagnostics/CoreDiagnostics.swift:135:5: error: unexpected ',' separator
133 |          max: Double = -Double.infinity,
134 |          sum: Double = 0,
135 |     ) {
    |     `- error: unexpected ',' separator
136 |         self.count = count
137 |         self.min = min
/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/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.0 linux