The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FirebladePAL, reference main (3f58cd), with Swift 6.1 for Wasm on 14 Aug 2026 08:31:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
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 3f58cd4 chore: migrate Renovate config to .github/renovate.json (#57)
Cloned https://github.com/fireblade-engine/pal.git
Revision (git rev-parse @):
3f58cd45d4d6f35cd5f34e34b5a787a37b49a1ce
SUCCESS checkout https://github.com/fireblade-engine/pal.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fireblade-engine/pal.git
https://github.com/fireblade-engine/pal.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/ctreffs/SwiftVulkan
Fetching https://github.com/fireblade-engine/math.git
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/ctreffs/SwiftSDL2.git
Fetching https://github.com/ctreffs/SwiftNFD.git
[1/438] Fetching time
[23/777] Fetching time, swiftvulkan
[203/4394] Fetching time, swiftvulkan, math
[977/4826] Fetching time, swiftvulkan, math, swiftnfd
Fetched https://github.com/fireblade-engine/time.git from cache (0.55s)
Fetched https://github.com/fireblade-engine/math.git from cache (0.55s)
[1/1409] Fetching swiftsdl2
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.90s)
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (0.90s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.90s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (1.15s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.24s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.25s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.25s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.24s)
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/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/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/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
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
[8/32] Compiling CNFD nfd_gtk.c
[9/32] Compiling CNFD nfd_cocoa.m
[10/32] Compiling CNFD nfd_win.cpp
[11/32] Compiling CNFD nfd_default.c
[12/32] Compiling CNFD nfd_common.c
[13/32] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/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 |
[16/144] Compiling FirebladeMath clamp.swift
/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 |
[17/144] Compiling FirebladeMath conjugate.swift
/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 |
[18/144] Compiling FirebladeMath copysign.swift
/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 |
[19/144] Compiling FirebladeMath cos.swift
/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 |
[20/144] Compiling FirebladeMath cosh.swift
/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 |
[21/144] Compiling FirebladeMath cross.swift
/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 |
[22/144] Compiling FirebladeMath degrees.swift
/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 |
[23/144] Compiling FirebladeMath determinant.swift
/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 |
[24/144] Compiling FirebladeMath distance.swift
/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 |
[25/144] Compiling FirebladeMath dot.swift
/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 |
[26/144] Compiling FirebladeMath exp.swift
/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 |
[27/144] Compiling FirebladeMath exp2.swift
/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 |
[28/144] Compiling FirebladeMath faceforward.swift
/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 |
[29/144] Compiling FirebladeMath Constants.swift
/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 |
[30/144] Compiling FirebladeMath abs.swift
/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 |
[31/144] Compiling FirebladeMath acos.swift
/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 |
[32/144] Compiling FirebladeMath acosh.swift
/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 |
[33/144] Compiling FirebladeMath adjugate.swift
/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 |
[34/144] Compiling FirebladeMath angle.swift
/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 |
[35/144] Compiling FirebladeMath asin.swift
/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 |
[36/144] Compiling FirebladeMath asinh.swift
/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 |
[37/144] Compiling FirebladeMath atan.swift
/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 |
[38/144] Compiling FirebladeMath atan2.swift
/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 |
[39/144] Compiling FirebladeMath atanh.swift
/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/144] Compiling FirebladeMath axis.swift
/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 |
[41/144] Compiling FirebladeMath ceil.swift
/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 |
[42/144] Compiling FirebladeTime POSIXClock.swift
/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/POSIXClock.swift:42:41: error: cannot find type 'CTimeSpec' in scope
40 |         // clock_gettime (ns) => 370 cycles (CLOCK_PROCESS_CPUTIME_ID)
41 |
42 |         @usableFromInline var timeSpec: CTimeSpec
   |                                         `- error: cannot find type 'CTimeSpec' in scope
43 |
44 |         @inlinable
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXClock.swift:46:24: error: cannot find 'CTimeSpec' in scope
44 |         @inlinable
45 |         public init() {
46 |             timeSpec = CTimeSpec(tv_sec: 0, tv_nsec: 0)
   |                        `- error: cannot find 'CTimeSpec' in scope
47 |             // get resolution
48 |             #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXClock.swift:51:21: error: cannot find 'clock_getres' in scope
49 |                 timeSpec.tv_sec = UInt32(1 / sysconf(_SC_CLK_TCK))
50 |             #else
51 |                 _ = clock_getres(CLOCK_MONOTONIC, &timeSpec)
   |                     `- error: cannot find 'clock_getres' in scope
52 |             #endif
53 |         }
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXClock.swift:51:34: error: cannot find 'CLOCK_MONOTONIC' in scope
49 |                 timeSpec.tv_sec = UInt32(1 / sysconf(_SC_CLK_TCK))
50 |             #else
51 |                 _ = clock_getres(CLOCK_MONOTONIC, &timeSpec)
   |                                  `- error: cannot find 'CLOCK_MONOTONIC' in scope
52 |             #endif
53 |         }
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXClock.swift:69:21: error: cannot find 'clock_gettime' in scope
67 |                 _ = mach_port_deallocate(machTaskSelf(), clockName)
68 |             #else
69 |                 _ = clock_gettime(CLOCK_MONOTONIC, &timeSpec)
   |                     `- error: cannot find 'clock_gettime' in scope
70 |             #endif
71 |             return Nanoseconds(timeSpec.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeSpec.tv_nsec)
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXClock.swift:69:35: error: cannot find 'CLOCK_MONOTONIC' in scope
67 |                 _ = mach_port_deallocate(machTaskSelf(), clockName)
68 |             #else
69 |                 _ = clock_gettime(CLOCK_MONOTONIC, &timeSpec)
   |                                   `- error: cannot find 'CLOCK_MONOTONIC' in scope
70 |             #endif
71 |             return Nanoseconds(timeSpec.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeSpec.tv_nsec)
[43/144] Compiling FirebladeMath MatrixStorage+NO_SIMD.swift
/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 |
[44/144] Compiling FirebladeMath MatrixStorage+SIMD.swift
/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 |
[45/144] Compiling FirebladeMath MatrixStorage.swift
/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 |
[46/144] Compiling FirebladeMath Point.swift
/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 |
[47/144] Compiling FirebladeMath Quat.swift
/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 |
[48/144] Compiling FirebladeMath Quat4d.swift
/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 |
[49/144] Compiling FirebladeMath Quat4f+Euler.swift
/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 |
[50/144] Compiling FirebladeMath Quat4f.swift
/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 |
[51/144] Compiling FirebladeMath Quaternion+Identity.swift
/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 |
[52/144] Compiling FirebladeMath Quaternion+Multiplication.swift
/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 |
[53/144] Compiling FirebladeMath Quaternion+Operators.swift
/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 |
[54/144] Compiling FirebladeMath QuaternionStorage+NO_SIMD.swift
/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 |
[55/144] Compiling FirebladeMath floor.swift
/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 |
[56/144] Compiling FirebladeMath fract.swift
/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 |
[57/144] Compiling FirebladeMath hypot.swift
/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 |
[58/144] Compiling FirebladeMath inverse.swift
/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 |
[59/144] Compiling FirebladeMath isInfinite.swift
/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 |
[60/144] Compiling FirebladeMath isNegativeInfinity.swift
/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 |
[61/144] Compiling FirebladeMath isNegativeZero.swift
/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 |
[62/144] Compiling FirebladeMath isPositiveInfinity.swift
/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 |
[63/144] Compiling FirebladeMath isPositiveZero.swift
/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 |
[64/144] Compiling FirebladeMath length.swift
/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 |
[65/144] Compiling FirebladeMath lerp+mix.swift
/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 |
[66/144] Compiling FirebladeMath log.swift
/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 |
[67/144] Compiling FirebladeMath log10.swift
/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)
[68/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 |
[69/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 |
[70/144] Compiling FirebladeTime MachTime.swift
/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)
[71/144] Emitting module NFD
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/19] Write swift-version-24593BA9C3E375BF.txt
[2/119] Compiling FirebladeTime TimeProviding.swift
[3/119] Compiling FirebladeTime Timer.swift
[4/119] Compiling FirebladeTime Time.swift
/host/spi-builder-workspace/.build/checkouts/time/Sources/FirebladeTime/POSIXClock.swift:42:41: error: cannot find type 'CTimeSpec' in scope
40 |         // clock_gettime (ns) => 370 cycles (CLOCK_PROCESS_CPUTIME_ID)
41 |
42 |         @usableFromInline var timeSpec: CTimeSpec
   |                                         `- error: cannot find type 'CTimeSpec' in scope
43 |
44 |         @inlinable
[5/119] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/119] 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 |
/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.1 wasm