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 FirebladePAL, reference main (d54ec8), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 14:01:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/fireblade-engine/pal.git
Reference: main
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/fireblade-engine/pal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d54ec84 Update renovate.json
Cloned https://github.com/fireblade-engine/pal.git
Revision (git rev-parse @):
d54ec8410406c5f207a56ec1ac250e8e161a1bb9
SUCCESS checkout https://github.com/fireblade-engine/pal.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fireblade-engine/pal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/fireblade-engine/math.git
Fetching https://github.com/ctreffs/SwiftVulkan
Fetching https://github.com/ctreffs/SwiftNFD.git
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/ctreffs/SwiftSDL2.git
[1/294] Fetching swiftvulkan
[295/1646] Fetching swiftvulkan, swiftsdl2
[1026/2052] Fetching swiftvulkan, swiftsdl2, time
[1432/4704] Fetching swiftvulkan, swiftsdl2, time, math
[4084/5096] Fetching swiftvulkan, swiftsdl2, time, math, swiftnfd
Fetched https://github.com/ctreffs/SwiftVulkan from cache (1.27s)
Fetched https://github.com/fireblade-engine/time.git from cache (1.27s)
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (1.27s)
Fetched https://github.com/fireblade-engine/math.git from cache (1.27s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (1.28s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (1.73s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.50s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.76s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.54s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.49s)
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
warning: you may be able to install vulkan using your system-packager:
    apt-get install libvulkan-dev libvulkan1
warning: you may be able to install vulkan using your system-packager:
    apt-get install libvulkan-dev libvulkan1
Building for debugging...
[0/32] Write sources
[2/32] Write swift-version-24593BA9C3E375BF.txt
[2/32] Write sources
[9/32] Compiling CNFD nfd_win.cpp
[10/32] Compiling CNFD nfd_default.c
[11/32] Compiling CNFD nfd_common.c
[11/32] Compiling CNFD nfd_gtk.c
[13/32] Compiling CNFD nfd_cocoa.m
[15/104] Emitting module NFD
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/132] Emitting module FirebladeMath
/host/spi-builder-workspace/.build/checkouts/math/Sources/FirebladeMath/Functions/abs.swift:10:8: error: no such module 'Glibc'
 8 |
 9 | #if FRB_MATH_GLIBC
10 | import Glibc
   |        `- error: no such module 'Glibc'
11 | #endif
12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/144] Emitting module SDL
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:11:23: error: no such module 'SDL2'
 9 |     @_exported import CSDL2
10 | #else
11 |     @_exported import SDL2
   |                       `- error: no such module 'SDL2'
12 | #endif
13 |
[18/144] Compiling SDL SDL2.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:11:23: error: no such module 'SDL2'
 9 |     @_exported import CSDL2
10 | #else
11 |     @_exported import SDL2
   |                       `- error: no such module 'SDL2'
12 | #endif
13 |
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 |         import Glibc
14 |     #else
15 |         #error("unavailable on this platform")
   |                `- error: unavailable on this platform
16 |     #endif
17 |
BUILD FAILURE 6.2 wasm