Build Information
Failed to build package-frostflake, reference main (6cece5), with Swift 6.3 for Wasm on 18 Apr 2026 20:10:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-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/package-frostflake
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6cece53 ci: 🔄 synced local '.swift-version' with remote 'dotfiles/swift-version'
Cloned https://github.com/ordo-one/package-frostflake.git
Revision (git rev-parse @):
6cece534935797b3bf9c0d125a5f1febc4f6b7b9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-frostflake.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/ordo-one/package-frostflake.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
[229/19806] Fetching swift-docc-plugin, swift-argument-parser
[954/25407] Fetching swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-docc-plugin from cache (0.56s)
[16469/23130] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (1.54s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (5.11s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.18s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.63s)
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
[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
[10/18] Write swift-version-24593BA9C3E375BF.txt
[12/57] Emitting module SystemPackage
[13/61] 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 |
[14/61] 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 |
[15/61] 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
[16/61] 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)
[17/61] Compiling SystemPackage SystemString.swift
[18/61] Compiling SystemPackage Util+StringArray.swift
[19/61] Compiling SystemPackage Util.swift
[20/61] Compiling SystemPackage UtilConsumers.swift
[21/61] Compiling SystemPackage Errno.swift
[22/61] Compiling SystemPackage ErrnoWindows.swift
[23/61] Compiling SystemPackage FileDescriptor.swift
[24/61] Compiling SystemPackage FileHelpers.swift
[25/61] Compiling SystemPackage FileOperations.swift
[26/61] Compiling SystemPackage FilePathSyntax.swift
[27/61] Compiling SystemPackage FilePathTemp.swift
[28/61] Compiling SystemPackage FilePathTempPosix.swift
[29/61] Compiling SystemPackage FilePathTempWindows.swift
[30/61] Compiling SystemPackage FilePath.swift
[31/61] Compiling SystemPackage FilePathComponentView.swift
[32/61] Compiling SystemPackage FilePathComponents.swift
[33/61] Compiling SystemPackage FilePathParsing.swift
[34/61] Compiling SystemPackage FilePathString.swift
[35/61] Emitting module ArgumentParserToolInfo
[36/61] Compiling ArgumentParserToolInfo ToolInfo.swift
[38/62] Compiling SystemPackage IORing.swift
[39/62] Compiling SystemPackage RawIORequest.swift
[40/62] Compiling SystemPackage Backcompat.swift
[41/62] Compiling SystemPackage CInterop.swift
[42/62] Compiling SystemPackage Syscalls.swift
[43/62] Compiling SystemPackage WindowsSyscallAdapters.swift
[44/62] Compiling SystemPackage MachPort.swift
[45/62] Compiling SystemPackage PlatformString.swift
[45/62] Wrapping AST for ArgumentParserToolInfo for debugging
[47/62] Compiling SystemPackage FilePathWindows.swift
[48/62] Compiling SystemPackage FilePermissions.swift
[49/62] Compiling SystemPackage IOCompletion.swift
[50/62] Compiling SystemPackage IORequest.swift
[51/62] Compiling SystemPackage Constants.swift
[52/62] Compiling SystemPackage Exports.swift
[53/62] Compiling SystemPackage Mocking.swift
[54/62] Compiling SystemPackage RawBuffer.swift
[55/109] Wrapping AST for SystemPackage for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/109] 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)
[58/109] 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 |
BUILD FAILURE 6.3 wasm