Build Information
Failed to build FirebladeTime, reference master (347761), with Swift 6.3 for Wasm on 14 Aug 2026 08:06:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/time.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/fireblade-engine/time
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 347761f chore: migrate Renovate config to .github/renovate.json (#18)
Cloned https://github.com/fireblade-engine/time.git
Revision (git rev-parse @):
347761fa115fa91d3fb6e49df70d62b7554660e5
SUCCESS checkout https://github.com/fireblade-engine/time.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/fireblade-engine/time.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling FirebladeTime TimeProviding.swift
/host/spi-builder-workspace/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/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 |
[4/10] Compiling FirebladeTime Time.swift
/host/spi-builder-workspace/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/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 |
[5/10] Compiling FirebladeTime POSIXTimeOfDay.swift
/host/spi-builder-workspace/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/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/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/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/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/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)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:34:79: error: cannot find 'errno' in scope
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
| `- error: cannot find 'errno' in scope
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
36 | }
[6/10] Compiling FirebladeTime Timer.swift
/host/spi-builder-workspace/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/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module FirebladeTime
/host/spi-builder-workspace/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/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/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/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/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/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/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/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)
/host/spi-builder-workspace/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/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/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/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)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:34:79: error: cannot find 'errno' in scope
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
| `- error: cannot find 'errno' in scope
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
36 | }
[8/10] Compiling FirebladeTime Duration.swift
/host/spi-builder-workspace/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/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 |
[9/10] Compiling FirebladeTime POSIXClock.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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)
[10/10] Compiling FirebladeTime MachTime.swift
/host/spi-builder-workspace/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/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 |
BUILD FAILURE 6.3 wasm