The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FFmpeg-iOS, reference v0.0.6-b20230416-200000 (4552bf), with Swift 6.2 (beta) for Android on 20 Jun 2025 01:31:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kewlbear/FFmpeg-iOS.git
Reference: v0.0.6-b20230416-200000
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/kewlbear/FFmpeg-iOS
 * tag               v0.0.6-b20230416-200000 -> FETCH_HEAD
HEAD is now at 4552bf5 fix FFmpeg-iOS-Support URL
Cloned https://github.com/kewlbear/FFmpeg-iOS.git
Revision (git rev-parse @):
4552bf5787c532fa650dcd10bda9403cd9d3a285
SUCCESS checkout https://github.com/kewlbear/FFmpeg-iOS.git at v0.0.6-b20230416-200000
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kewlbear/FFmpeg-iOS.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/kewlbear/FFmpeg-iOS-Support
[1/36] Fetching ffmpeg-ios-support
Fetched https://github.com/kewlbear/FFmpeg-iOS-Support from cache (0.26s)
Computing version for https://github.com/kewlbear/FFmpeg-iOS-Support
Computed https://github.com/kewlbear/FFmpeg-iOS-Support at 0.0.2 (0.68s)
Creating working copy for https://github.com/kewlbear/FFmpeg-iOS-Support
Working copy of https://github.com/kewlbear/FFmpeg-iOS-Support resolved at 0.0.2
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/avcodec.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/avformat.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/avdevice.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/avfilter.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/swscale.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/avutil.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/swresample.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/fftools.zip
FoundationNetworking/EasyHandle.swift:293: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=libcurl.Easy Code=43 "(null)"
*** Signal 4: Backtracing from 0x7f7983653728... done ***
*** Program crashed: Illegal instruction at 0x00007f7983653728 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-build":
  0  0x00007f7981b2980a <unknown> in libc.so.6
...
Thread 1:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Thread 2:
  0  0x00007f7981c0ce2e <unknown> in libc.so.6
...
Thread 3:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Thread 4 crashed:
  0              0x00007f7983653728 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
  1 [ra]         0x00007f7983687e16 swift_unexpectedError + 805 in libswiftCore.so
  2 [ra]         0x00007f7982192a62 _HTTPURLProtocol.configureEasyHandle(for:body:) + 8625 in libFoundationNetworking.so
  3 [ra]         0x00007f79821a3cbe _NativeProtocol.startNewTransfer(with:) + 1229 in libFoundationNetworking.so
  4 [ra]         0x00007f7982194115 _HTTPURLProtocol.didCompleteRedirectCallback(_:) + 356 in libFoundationNetworking.so
  5 [ra] [thunk] 0x00007f798219818b partial apply for closure #1 in closure #1 in closure #1 in _HTTPURLProtocol.redirectFor(request:) + 26 in libFoundationNetworking.so
  6 [ra] [thunk] 0x00007f798216e739 thunk for @escaping @callee_guaranteed @Sendable () -> () + 24 in libFoundationNetworking.so
...
Thread 5:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Thread 6:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Thread 7:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Thread 8:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Thread 9:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Thread 10:
  0  0x00007f7981b78117 <unknown> in libc.so.6
...
Registers:
rax 0x0000000200000003  8589934595
rdx 0x0000000000000002  2
rcx 0xfffffffe00000000  18446744065119617024
rbx 0x0000000000000003  3
rsi 0x00007f79700234e8  03 00 00 00 00 00 00 00 a0 00 00 00 00 00 00 80  ········ ·······
rdi 0x00007f79700008e0  06 00 06 00 07 00 06 00 02 00 07 00 07 00 07 00  ················
rbp 0x00007f797af03e80  30 3f f0 7a 79 7f 00 00 16 7e 68 83 79 7f 00 00  0?ðzy····~h·y···
rsp 0x00007f797af03e10  20 3e f0 7a 79 7f 00 00 0b a9 57 83 79 7f 00 00   >ðzy····©W·y···
 r8 0x00007f7970039ad0  c9 9c 94 87 7e 7f 00 00 18 8f a0 b7 6c c0 ef 20  É···~····· ·lÀï
 r9 0x00007f797af03b80  61 64 65 72 73 3d 68 6f 73 74 26 72 65 73 70 6f  aders=host&respo
r10 0x0000000000000000  0
r11 0x20efc06cb7a08f18  2373327101817294616
r12 0x00007f79700234e0  08 45 94 83 79 7f 00 00 03 00 00 00 00 00 00 00  ·E··y···········
r13 0x00007f797af03ef8  5a 00 00 00 00 00 00 f0 e0 34 02 70 79 7f 00 00  Z······ðà4·py···
r14 0x0000000000000000  0
r15 0x000000000000005a  90
rip 0x00007f7983653728  0f 0b 48 8d 35 4f 0f fb ff 48 8d 55 a0 45 31 e4  ··H·5O·ûÿH·U E1ä
rflags 0x0000000000010202
cs 0x0033  fs 0x0000  gs 0x0000
Images (70 omitted):
0x00007f7981ae7000–0x00007f7981ca3341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6                  /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f79820ec000–0x00007f79821ebd60 8ef30cbbf348a3153293d91c2e21d7e6537cfb37 libFoundationNetworking.so /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/linux/libFoundationNetworking.so
0x00007f7983371000–0x00007f7983927ef8 5dc8fcc80095e8eedc81e3e8ea22b6c923b3d433 libswiftCore.so            /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.02s
BUILD FAILURE 6.2 android