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 0.0.5 (59c01f), with Swift 6.2 (beta) for Linux on 20 Jun 2025 01:31:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: 0.0.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/kewlbear/FFmpeg-iOS
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 59c01fb fix build error
Cloned https://github.com/kewlbear/FFmpeg-iOS.git
Revision (git rev-parse @):
59c01fbba5a85005d4b624f77f6ad32d43a4d922
SUCCESS checkout https://github.com/kewlbear/FFmpeg-iOS.git at 0.0.5
========================================
Build
========================================
Selected platform:         linux
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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.94s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.45s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/avformat.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/avcodec.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/avutil.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/avfilter.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/swscale.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/avdevice.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/swresample.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/0.0.5/ffmpeg.zip
FoundationNetworking/EasyHandle.swift:293: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=libcurl.Easy Code=43 "(null)"
*** Signal 4: Backtracing from 0x7f6647184f68... done ***
*** Program crashed: Illegal instruction at 0x00007f6647184f68 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-build":
  0  0x00007f664564080a <unknown> in libc.so.6
...
Thread 1:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Thread 2:
  0  0x00007f6645723e2e <unknown> in libc.so.6
...
Thread 3:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Thread 4:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Thread 5:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Thread 6 crashed:
  0              0x00007f6647184f68 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
  1 [ra]         0x00007f66471b9656 swift_unexpectedError + 805 in libswiftCore.so
  2 [ra]         0x00007f6645ca7937 _HTTPURLProtocol.configureEasyHandle(for:body:) + 8630 in libFoundationNetworking.so
  3 [ra]         0x00007f6645cb8c55 _NativeProtocol.startNewTransfer(with:) + 1220 in libFoundationNetworking.so
  4 [ra]         0x00007f6645ca900a _HTTPURLProtocol.didCompleteRedirectCallback(_:) + 361 in libFoundationNetworking.so
  5 [ra] [thunk] 0x00007f6645cad0cb partial apply for closure #1 in closure #1 in closure #1 in _HTTPURLProtocol.redirectFor(request:) + 26 in libFoundationNetworking.so
  6 [ra] [thunk] 0x00007f6645c836a9 thunk for @escaping @callee_guaranteed @Sendable () -> () + 24 in libFoundationNetworking.so
...
Thread 7:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Thread 8:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Thread 9:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Thread 10:
  0  0x00007f664568f117 <unknown> in libc.so.6
...
Registers:
rax 0x0000000200000003  8589934595
rdx 0x0000000000000002  2
rcx 0xfffffffe00000000  18446744065119617024
rbx 0x0000000000000003  3
rsi 0x00007f660c680d18  03 00 00 00 00 00 00 00 90 00 00 00 00 00 00 80  ················
rdi 0x00007f660c0008e0  06 00 06 00 07 00 06 00 02 00 07 00 07 00 07 00  ················
rbp 0x00007f663da16e90  40 6f a1 3d 66 7f 00 00 56 96 1b 47 66 7f 00 00  @o¡=f···V··Gf···
rsp 0x00007f663da16e20  30 6e a1 3d 66 7f 00 00 4b c1 0a 47 66 7f 00 00  0n¡=f···KÁ·Gf···
 r8 0x00007f660c038c70  c8 4e 49 fa 61 7f 00 00 fa 8c ad 8e 4c 88 f9 e4  ÈNIúa···ú·­·L·ùä
 r9 0x00007f663da16b90  73 65 2d 63 6f 6e 74 65 6e 74 2d 64 69 73 70 6f  se-content-dispo
r10 0x0000000000000000  0
r11 0xe4f9884c8ead8cfa  16499368572241153274
r12 0x00007f660c680d10  08 55 47 47 66 7f 00 00 03 00 00 00 00 00 00 00  ·UGGf···········
r13 0x00007f663da16f08  5a 00 00 00 00 00 00 f0 10 0d 68 0c 66 7f 00 00  Z······ð··h·f···
r14 0x0000000000000000  0
r15 0x000000000000005a  90
rip 0x00007f6647184f68  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):
0x00007f66455fe000–0x00007f66457ba341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6                  /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f6645c01000–0x00007f6645d00e98 60eb52fea43ffbb0a1b9268b786f7cd00d92e6af libFoundationNetworking.so /usr/lib/swift/linux/libFoundationNetworking.so
0x00007f6646ea3000–0x00007f6647459738 ea415297c2418b4eb4feb8edcc649464dcb14bc6 libswiftCore.so            /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s
BUILD FAILURE 6.2 linux