Build Information
Failed to build VertexGUI, reference master (bd1a4b), with Swift 6.2 for Wasm on 20 Jun 2025 08:27:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VertexUI/VertexGUI.git
Reference: master
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/VertexUI/VertexGUI
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bd1a4b1 remove unnecessary print
Cloned https://github.com/VertexUI/VertexGUI.git
Revision (git rev-parse @):
bd1a4b124ebef002524deb66200053bb7b2035e1
SUCCESS checkout https://github.com/VertexUI/VertexGUI.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/VertexUI/VertexGUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/UnGast/swift-opengl
[1/102] Fetching swift-opengl
Fetched https://github.com/UnGast/swift-opengl from cache (0.42s)
Fetching https://github.com/UnGast/swim.git
[1/9376] Fetching swim
Fetched https://github.com/UnGast/swim.git from cache (1.03s)
Fetching https://github.com/UnGast/swift-gfx-math.git
[1/435] Fetching swift-gfx-math
Fetched https://github.com/UnGast/swift-gfx-math.git from cache (0.25s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8280] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.66s)
Fetching https://github.com/UnGast/SkiaKit
[1/1816] Fetching skiakit
Fetched https://github.com/UnGast/SkiaKit from cache (1.51s)
Fetching https://github.com/fireblade-engine/pal.git
[1/898] Fetching pal
Fetched https://github.com/fireblade-engine/pal.git from cache (0.22s)
Fetching https://github.com/kelvin13/swiftxml
[1/246] Fetching swiftxml
Fetched https://github.com/kelvin13/swiftxml from cache (0.28s)
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/ctreffs/SwiftNFD.git
Fetching https://github.com/ctreffs/SwiftVulkan
Fetching https://github.com/ctreffs/SwiftSDL2.git
Fetching https://github.com/fireblade-engine/math.git
Fetching https://github.com/mtynior/ColorizeSwift.git
[1/392] Fetching swiftnfd
[166/686] Fetching swiftnfd, swiftvulkan
[687/1092] Fetching swiftnfd, swiftvulkan, time
[1093/2444] Fetching swiftnfd, swiftvulkan, time, swiftsdl2
[1824/5096] Fetching swiftnfd, swiftvulkan, time, swiftsdl2, math
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.33s)
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (0.33s)
[3790/4701] Fetching time, swiftsdl2, math, colorizeswift
Fetched https://github.com/fireblade-engine/math.git from cache (0.46s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (0.46s)
Fetched https://github.com/fireblade-engine/time.git from cache (0.59s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.59s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (1.04s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.54s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.52s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.50s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.51s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (0.50s)
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/UnGast/SkiaKit
Working copy of https://github.com/UnGast/SkiaKit resolved at main (1924d72)
Creating working copy for https://github.com/UnGast/swift-gfx-math.git
Working copy of https://github.com/UnGast/swift-gfx-math.git resolved at master (2491615)
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
Creating working copy for https://github.com/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.7.0
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/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
Creating working copy for https://github.com/UnGast/swift-opengl
Working copy of https://github.com/UnGast/swift-opengl resolved at master (8dfcb2e)
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at master (1c6f02c)
Creating working copy for https://github.com/kelvin13/swiftxml
Working copy of https://github.com/kelvin13/swiftxml resolved at master (91ae89c)
Creating working copy for https://github.com/UnGast/swim.git
Working copy of https://github.com/UnGast/swim.git resolved at master (571022a)
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/pal.git
Working copy of https://github.com/fireblade-engine/pal.git resolved at main (d54ec84)
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
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/61] Write sources
[19/61] Copying LICENSE.txt
[20/61] Copying materialdesignicons-webfont.ttf
[21/61] Compiling CSkia CSkia.cpp
[22/61] Compiling CNFD nfd_win.cpp
[23/61] Write sources
[24/61] Compiling CNFD nfd_gtk.c
[25/61] Compiling CNFD nfd_default.c
[26/61] Compiling CNFD nfd_cocoa.m
[27/61] Compiling CNFD nfd_common.c
[28/61] Write swift-version-24593BA9C3E375BF.txt
[30/188] Emitting module NFD
[30/226] Compiling CStbImage truetype.c
[31/234] Compiling CStbImage image_io.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/322] 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 |
[34/322] 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 |
[35/322] Compiling FirebladeMath cos.swift
/host/spi-builder-workspace/.build/checkouts/swift-gfx-math/Sources/GfxMath/Color/Color.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct Color: Hashable, Equatable {
[36/322] Compiling FirebladeMath cosh.swift
/host/spi-builder-workspace/.build/checkouts/swift-gfx-math/Sources/GfxMath/Color/Color.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct Color: Hashable, Equatable {
[37/322] Compiling FirebladeMath cross.swift
/host/spi-builder-workspace/.build/checkouts/swift-gfx-math/Sources/GfxMath/Color/Color.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct Color: Hashable, Equatable {
[38/322] Compiling FirebladeMath degrees.swift
/host/spi-builder-workspace/.build/checkouts/swift-gfx-math/Sources/GfxMath/Color/Color.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct Color: Hashable, Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/322] 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 |
[40/322] Compiling GL opengl.swift
[41/322] Compiling FirebladeMath angle.swift
/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[42/322] Compiling FirebladeMath asin.swift
/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[43/322] Compiling FirebladeMath asinh.swift
/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[44/322] Compiling FirebladeMath atan.swift
/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[45/322] Compiling FirebladeMath atan2.swift
/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/SkiaKit/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
/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 |
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXTimeOfDay.swift:23:40: error: cannot find type 'timeval' in scope
21 | /// https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html
22 | public struct POSIXTimeOfDay: TimeProviding {
23 | @usableFromInline var timeVal: timeval
| `- error: cannot find type 'timeval' in scope
24 |
25 | @inlinable
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXTimeOfDay.swift:27:23: error: cannot find 'timeval' in scope
25 | @inlinable
26 | public init() {
27 | timeVal = timeval(tv_sec: 0, tv_usec: 0)
| `- error: cannot find 'timeval' in scope
28 | }
29 |
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXTimeOfDay.swift:33:26: error: cannot find 'gettimeofday' in scope
31 | @inlinable
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
| `- error: cannot find 'gettimeofday' in scope
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXTimeOfDay.swift:33:49: error: 'nil' requires a contextual type
31 | @inlinable
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
| `- error: 'nil' requires a contextual type
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
BUILD FAILURE 6.2 wasm