The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Amplitude-Swift, reference v1.18.1 (b6dd7d), with Swift 6.2 for Android on 21 Apr 2026 05:10:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amplitude/Amplitude-Swift.git
Reference: v1.18.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/Amplitude-Swift
 * tag               v1.18.1    -> FETCH_HEAD
HEAD is now at b6dd7d0 chore(release): 1.18.1 [skip ci]
Cloned https://github.com/amplitude/Amplitude-Swift.git
Revision (git rev-parse @):
b6dd7d079d20fed9e392b9dfda7a04c9d386d0a6
SUCCESS checkout https://github.com/amplitude/Amplitude-Swift.git at v1.18.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amplitude/Amplitude-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/amplitude/analytics-connector-ios.git
Fetching https://github.com/amplitude/AmplitudeCore-Swift.git
[1/1204] Fetching amplitudecore-swift
[315/1629] Fetching amplitudecore-swift, analytics-connector-ios
Fetched https://github.com/amplitude/analytics-connector-ios.git from cache (0.59s)
Fetched https://github.com/amplitude/AmplitudeCore-Swift.git from cache (0.65s)
Computing version for https://github.com/amplitude/analytics-connector-ios.git
Computed https://github.com/amplitude/analytics-connector-ios.git at 1.3.1 (1.53s)
Computing version for https://github.com/amplitude/AmplitudeCore-Swift.git
Computed https://github.com/amplitude/AmplitudeCore-Swift.git at 1.4.5 (0.85s)
Creating working copy for https://github.com/amplitude/AmplitudeCore-Swift.git
Working copy of https://github.com/amplitude/AmplitudeCore-Swift.git resolved at 1.4.5
Creating working copy for https://github.com/amplitude/analytics-connector-ios.git
Working copy of https://github.com/amplitude/analytics-connector-ios.git resolved at 1.3.1
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
Downloading binary artifact https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
FoundationNetworking/EasyHandle.swift:293: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=libcurl.Easy Code=43 "(null)"
*** Signal 4: Backtracing from 0x7f250835eb88... done ***
*** Program crashed: Illegal instruction at 0x00007f250835eb88 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-build":
  0  0x00007f25067bb80a <unknown> in libc.so.6
...
Thread 1:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 2:
  0  0x00007f250689eeae <unknown> in libc.so.6
...
Thread 3:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 4:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 5:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 6:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 7:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 8:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 9:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 10 crashed:
  0              0x00007f250835eb88 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
  1 [ra]         0x00007f2508393246 swift_unexpectedError + 805 in libswiftCore.so
  2 [ra]         0x00007f2506e26e37 _HTTPURLProtocol.configureEasyHandle(for:body:) + 8630 in libFoundationNetworking.so
  3 [ra]         0x00007f2506e38175 _NativeProtocol.startNewTransfer(with:) + 1220 in libFoundationNetworking.so
  4 [ra]         0x00007f2506e2850a _HTTPURLProtocol.didCompleteRedirectCallback(_:) + 361 in libFoundationNetworking.so
  5 [ra] [thunk] 0x00007f2506e2c5cb partial apply for closure #1 in closure #1 in closure #1 in _HTTPURLProtocol.redirectFor(request:) + 26 in libFoundationNetworking.so
  6 [ra] [thunk] 0x00007f2506e02aa9 thunk for @escaping @callee_guaranteed @Sendable () -> () + 24 in libFoundationNetworking.so
...
Thread 11:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Thread 12:
  0  0x00007f250680a117 <unknown> in libc.so.6
...
Registers:
rax 0x0000000200000003  8589934595
rdx 0x0000000000000002  2
rcx 0xfffffffe00000000  18446744065119617024
rbx 0x0000000000000003  3
rsi 0x00007f24b8001028  03 00 00 00 00 00 00 00 90 00 00 00 00 00 00 80  ················
rdi 0x00007f24c80008e0  06 00 06 00 02 00 04 00 02 00 03 00 05 00 06 00  ················
rbp 0x00007f24d8dd9e90  40 9f dd d8 24 7f 00 00 46 32 39 08 25 7f 00 00  @·ÝØ$···F29·%···
rsp 0x00007f24d8dd9e20  30 9e dd d8 24 7f 00 00 5b 5a 28 08 25 7f 00 00  0·ÝØ$···[Z(·%···
 r8 0x00007f24c8017c30  d7 fb 4d 3a 23 7f 00 00 55 d9 f7 d2 df bd fa e2  ×ûM:#···UÙ÷Òß½úâ
 r9 0x00007f24d8dd9b90  fe 6d ab d3 3d dc f5 64 f1 22 3e d8 cc 13 6c 1a  þm«Ó=Üõdñ">ØÌ·l·
r10 0x0000000000000000  0
r11 0xe2fabddfd2f7d955  16355593765764192597
r12 0x00007f24b8001020  28 95 64 08 25 7f 00 00 03 00 00 00 00 00 00 00  (·d·%···········
r13 0x00007f24d8dd9f08  5a 00 00 00 00 00 00 f0 20 10 00 b8 24 7f 00 00  Z······ð ··¸$···
r14 0x0000000000000000  0
r15 0x000000000000005a  90
rip 0x00007f250835eb88  0f 0b 48 8d 35 7f 0c fb ff 48 8d 55 a0 45 31 e4  ··H·5··ûÿH·U E1ä
rflags 0x0000000000010202
cs 0x0033  fs 0x0000  gs 0x0000
Images (71 omitted):
0x00007f2506779000–0x00007f2506935401 095c7ba148aeca81668091f718047078d57efddb libc.so.6                  /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f2506d7e000–0x00007f2506e803f0 e5018258211592771684058c071315cbcb951e8e libFoundationNetworking.so /root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/linux/libFoundationNetworking.so
0x00007f250807c000–0x00007f250862c8a8 0fb36931053b04c76b3a9f5c9e422cb2ae40ec31 libswiftCore.so            /root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.09s
BUILD FAILURE 6.2 android