Build Information
Failed to build package-frostflake, reference main (7e959d), with Swift 6.2 for Wasm on 5 Nov 2026 13:15:56 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/frostflake.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/ordo-one/frostflake
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7e959de ci: 🔄 synced local '.github/workflows/' with remote 'workflows/swift'
Cloned https://github.com/ordo-one/frostflake.git
Revision (git rev-parse @):
7e959de5d394b977e8dddf200939a9065a484160
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/frostflake.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ordo-one/frostflake.git
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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ba6864ed1873dc28d63134b1bd648b09c5ec8270a0ae95720b7f96d84a66a058
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/2345] Fetching swift-docc-plugin
[1784/21679] Fetching swift-docc-plugin, swift-argument-parser
[6793/29155] Fetching swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.85s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.85s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.75s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3863] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.47s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/18] Write sources
[9/18] Compiling CSystem shims.c
[9/18] Write swift-version-24593BA9C3E375BF.txt
[12/63] Compiling Frostflake FrostflakeHelpers.swift
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:14:12: error: Unsupported Platform
12 | import Glibc
13 | #else
14 | #error("Unsupported Platform")
| `- error: Unsupported Platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:29:34: error: cannot find type 'timespec' in scope
27 | }
28 |
29 | private func getCurrentTime() -> timespec {
| `- error: cannot find type 'timespec' in scope
30 | var currentTime = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, ¤tTime)
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:30:23: error: cannot find 'timespec' in scope
28 |
29 | private func getCurrentTime() -> timespec {
30 | var currentTime = timespec()
| `- error: cannot find 'timespec' in scope
31 | let result = clock_gettime(CLOCK_REALTIME, ¤tTime)
32 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:31:18: error: cannot find 'clock_gettime' in scope
29 | private func getCurrentTime() -> timespec {
30 | var currentTime = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, ¤tTime)
| `- error: cannot find 'clock_gettime' in scope
32 |
33 | guard result == 0 else {
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:31:32: error: cannot find 'CLOCK_REALTIME' in scope
29 | private func getCurrentTime() -> timespec {
30 | var currentTime = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, ¤tTime)
| `- error: cannot find 'CLOCK_REALTIME' in scope
32 |
33 | guard result == 0 else {
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:34:78: error: cannot find 'errno' in scope
32 |
33 | guard result == 0 else {
34 | fatalError("Failed to get current time in clock_gettime(), errno = \(errno)")
| `- error: cannot find 'errno' in scope
35 | }
36 | return currentTime
[13/63] Compiling Frostflake FrostflakeIdentifier+Base58.swift
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:14:12: error: Unsupported Platform
12 | import Glibc
13 | #else
14 | #error("Unsupported Platform")
| `- error: Unsupported Platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
[14/63] Compiling Frostflake FrostflakeIdentifier.swift
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:14:12: error: Unsupported Platform
12 | import Glibc
13 | #else
14 | #error("Unsupported Platform")
| `- error: Unsupported Platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:29:24: error: cannot find 'tm' in scope
27 | let generatorIdentifier = (rawValue & 0xFFFF_FFFF) & (0xFFFF_FFFF >> Frostflake.sequenceNumberBits)
28 |
29 | var tmStruct = tm()
| `- error: cannot find 'tm' in scope
30 | var time = Int(seconds)
31 | gmtime_r(&time, &tmStruct)
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:31:9: error: cannot find 'gmtime_r' in scope
29 | var tmStruct = tm()
30 | var time = Int(seconds)
31 | gmtime_r(&time, &tmStruct)
| `- error: cannot find 'gmtime_r' in scope
32 | let year = Int(tmStruct.tm_year + 1_900)
33 | let month = Int(tmStruct.tm_mon + 1)
[15/63] Emitting module SystemPackage
[16/68] Compiling SystemPackage IOCompletion.swift
[17/68] Compiling SystemPackage IORequest.swift
[18/68] Compiling SystemPackage IORing+Util.swift
[19/68] Compiling SystemPackage IORing.swift
[20/68] Compiling SystemPackage RawIORequest.swift
[21/68] Compiling SystemPackage Backcompat.swift
[22/68] Compiling SystemPackage CInterop.swift
[23/68] Compiling SystemPackage Constants.swift
[24/68] Compiling SystemPackage Exports.swift
[25/68] Compiling SystemPackage Mocking.swift
[26/68] Compiling SystemPackage RawBuffer.swift
[27/68] Compiling SystemPackage Syscalls.swift
[28/68] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/68] Compiling SystemPackage MachPort.swift
[30/68] Compiling SystemPackage PlatformString.swift
[31/68] Compiling SystemPackage FilePathTemp.swift
[32/68] Compiling SystemPackage FilePathTempPosix.swift
[33/68] Compiling SystemPackage FilePathTempWindows.swift
[34/68] Compiling SystemPackage FilePathWindows.swift
[35/68] Compiling SystemPackage FilePermissions.swift
[36/68] Compiling SystemPackage FilePathComponentView.swift
[37/68] Compiling SystemPackage FilePathComponents.swift
[38/68] Compiling SystemPackage FilePathParsing.swift
[39/68] Compiling SystemPackage FilePathString.swift
[40/68] Compiling SystemPackage FilePathSyntax.swift
[41/68] Compiling SystemPackage FileFlags.swift
[42/68] Compiling SystemPackage FileMode.swift
[43/68] Compiling SystemPackage FileType.swift
[44/68] Compiling SystemPackage Identifiers.swift
[45/68] Compiling SystemPackage Stat.swift
[46/68] Compiling SystemPackage Errno.swift
[47/68] Compiling SystemPackage ErrnoWindows.swift
[48/68] Compiling SystemPackage FileDescriptor.swift
[49/68] Compiling SystemPackage FileHelpers.swift
[50/68] Compiling SystemPackage FileOperations.swift
[51/68] Compiling SystemPackage FilePath.swift
[52/68] Compiling SystemPackage SystemString.swift
[53/68] Compiling SystemPackage Util+StringArray.swift
[54/68] Compiling SystemPackage Util.swift
[55/68] Compiling SystemPackage UtilConsumers.swift
[56/68] Compiling SystemPackage WinSDK+Overlay.swift
[57/69] Wrapping AST for SystemPackage for debugging
[59/69] Emitting module ArgumentParserToolInfo
[60/69] Compiling ArgumentParserToolInfo ToolInfo.swift
[61/70] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/117] Compiling Frostflake FrostflakeDefinitions.swift
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:14:12: error: Unsupported Platform
12 | import Glibc
13 | #else
14 | #error("Unsupported Platform")
| `- error: Unsupported Platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
[64/117] Compiling Frostflake Frostflake.swift
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:14:12: error: Unsupported Platform
12 | import Glibc
13 | #else
14 | #error("Unsupported Platform")
| `- error: Unsupported Platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
[65/117] Emitting module Frostflake
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:14:12: error: Unsupported Platform
12 | import Glibc
13 | #else
14 | #error("Unsupported Platform")
| `- error: Unsupported Platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/Frostflake/FrostflakeHelpers.swift:29:34: error: cannot find type 'timespec' in scope
27 | }
28 |
29 | private func getCurrentTime() -> timespec {
| `- error: cannot find type 'timespec' in scope
30 | var currentTime = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, ¤tTime)
BUILD FAILURE 6.2 wasm