The Swift Package Index logo.Swift Package Index

Build Information

Failed to build package-frostflake, reference 7.0.0 (397a9c), with Swift 6.2 for Wasm on 26 Feb 2026 09:42:27 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-frostflake.git
Reference: 7.0.0
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
 * tag               7.0.0      -> FETCH_HEAD
HEAD is now at 397a9cb feat(major): [sc-29118] Update Frostflake (#71)
Cloned https://github.com/ordo-one/package-frostflake.git
Revision (git rev-parse @):
397a9cb550d33367b9ec4e6e5a1a73151cc39de2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-frostflake.git at 7.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/2171] Fetching swift-docc-plugin
[240/19343] Fetching swift-docc-plugin, swift-argument-parser
[2678/24926] Fetching swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-docc-plugin from cache (0.42s)
[14513/22755] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.46s)
[15799/17172] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3663] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.36s)
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.0
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
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
[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 ArgumentParserToolInfo
[13/57] 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)
[14/57] 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/57] 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, &currentTime)
/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, &currentTime)
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, &currentTime)
   |                  `- 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, &currentTime)
   |                                `- 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/57] Compiling SystemPackage FilePathSyntax.swift
[17/57] Compiling SystemPackage FilePathTemp.swift
[18/57] Compiling SystemPackage FilePathTempPosix.swift
[19/57] Compiling SystemPackage FilePathTempWindows.swift
[20/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 |
[21/61] Compiling SystemPackage FilePath.swift
[22/61] Compiling SystemPackage FilePathComponentView.swift
[23/61] Compiling SystemPackage FilePathComponents.swift
[24/61] Compiling SystemPackage FilePathParsing.swift
[25/61] Compiling SystemPackage FilePathString.swift
[26/61] Emitting module SystemPackage
[27/61] Compiling SystemPackage Errno.swift
[28/61] Compiling SystemPackage ErrnoWindows.swift
[29/61] Compiling SystemPackage FileDescriptor.swift
[30/61] Compiling SystemPackage FileHelpers.swift
[31/61] Compiling SystemPackage FileOperations.swift
[32/61] Compiling ArgumentParserToolInfo ToolInfo.swift
[34/62] Compiling SystemPackage FilePathWindows.swift
[35/62] Compiling SystemPackage FilePermissions.swift
[36/62] Compiling SystemPackage IOCompletion.swift
[37/62] Compiling SystemPackage IORequest.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 Constants.swift
[43/62] Compiling SystemPackage Exports.swift
[44/62] Compiling SystemPackage Mocking.swift
[45/62] Compiling SystemPackage RawBuffer.swift
[46/62] Compiling SystemPackage Syscalls.swift
[47/62] Compiling SystemPackage WindowsSyscallAdapters.swift
[48/62] Compiling SystemPackage MachPort.swift
[49/62] Compiling SystemPackage PlatformString.swift
[49/62] Wrapping AST for ArgumentParserToolInfo for debugging
[51/108] Compiling ArgumentParser ParsedValues.swift
[52/108] Compiling ArgumentParser ParserError.swift
[53/108] Compiling ArgumentParser SplitArguments.swift
[54/108] Compiling ArgumentParser Foundation.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, &currentTime)
[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.2 wasm