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 Wasm on 20 Jun 2025 01:31:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.19s)
Computing version for https://github.com/kewlbear/FFmpeg-iOS-Support
Computed https://github.com/kewlbear/FFmpeg-iOS-Support at 0.0.2 (0.61s)
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/avutil.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/avfilter.zip
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/swscale.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/fftools.zip
Downloading binary artifact https://github.com/kewlbear/FFmpeg-iOS/releases/download/v0.0.6-b20230416-173821/swresample.zip
FoundationNetworking/EasyHandle.swift:293: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=libcurl.Easy Code=43 "(null)"
*** Signal 4: Backtracing from 0x7f87a258cf68... done ***
*** Program crashed: Illegal instruction at 0x00007f87a258cf68 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-build":
  0  0x00007f87a0a4880a <unknown> in libc.so.6
...
Thread 1:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Thread 2:
  0  0x00007f87a0b2be2e <unknown> in libc.so.6
...
Thread 3:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Thread 4 crashed:
  0              0x00007f87a258cf68 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
  1 [ra]         0x00007f87a25c1656 swift_unexpectedError + 805 in libswiftCore.so
  2 [ra]         0x00007f87a10af937 _HTTPURLProtocol.configureEasyHandle(for:body:) + 8630 in libFoundationNetworking.so
  3 [ra]         0x00007f87a10c0c55 _NativeProtocol.startNewTransfer(with:) + 1220 in libFoundationNetworking.so
  4 [ra]         0x00007f87a10b100a _HTTPURLProtocol.didCompleteRedirectCallback(_:) + 361 in libFoundationNetworking.so
  5 [ra] [thunk] 0x00007f87a10b50cb partial apply for closure #1 in closure #1 in closure #1 in _HTTPURLProtocol.redirectFor(request:) + 26 in libFoundationNetworking.so
  6 [ra] [thunk] 0x00007f87a108b6a9 thunk for @escaping @callee_guaranteed @Sendable () -> () + 24 in libFoundationNetworking.so
...
Thread 5:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Thread 6:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Thread 7:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Thread 8:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Thread 9:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Thread 10:
  0  0x00007f87a0a97117 <unknown> in libc.so.6
...
Registers:
rax 0x0000000200000003  8589934595
rdx 0x0000000000000002  2
rcx 0xfffffffe00000000  18446744065119617024
rbx 0x0000000000000003  3
rsi 0x00007f8790014bd8  03 00 00 00 00 00 00 00 90 00 00 00 00 00 00 80  ················
rdi 0x00007f87900008e0  06 00 06 00 07 00 06 00 02 00 07 00 07 00 07 00  ················
rbp 0x00007f8799e20e90  40 0f e2 99 87 7f 00 00 56 16 5c a2 87 7f 00 00  @·â·····V·\¢····
rsp 0x00007f8799e20e20  30 0e e2 99 87 7f 00 00 4b 41 4b a2 87 7f 00 00  0·â·····KAK¢····
 r8 0x00007f87901bbc90  ab 82 62 68 80 7f 00 00 5e 79 11 2f db f9 13 b5  «·bh····^y·/Ûù·µ
 r9 0x00007f8799e20b90  6e 73 65 2d 63 6f 6e 74 65 6e 74 2d 64 69 73 70  nse-content-disp
r10 0x0000000000000000  0
r11 0xb513f9db2f11795e  13048047265205287262
r12 0x00007f8790014bd0  08 d5 87 a2 87 7f 00 00 03 00 00 00 00 00 00 00  ·Õ·¢············
r13 0x00007f8799e20f08  5a 00 00 00 00 00 00 f0 d0 4b 01 90 87 7f 00 00  Z······ðÐK······
r14 0x0000000000000000  0
r15 0x000000000000005a  90
rip 0x00007f87a258cf68  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):
0x00007f87a0a06000–0x00007f87a0bc2341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6                  /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f87a1009000–0x00007f87a1108e98 60eb52fea43ffbb0a1b9268b786f7cd00d92e6af libFoundationNetworking.so /usr/lib/swift/linux/libFoundationNetworking.so
0x00007f87a22ab000–0x00007f87a2861738 ea415297c2418b4eb4feb8edcc649464dcb14bc6 libswiftCore.so            /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.02s
BUILD FAILURE 6.2 wasm