The Swift Package Index logo.Swift Package Index

Build Information

Failed to build package-frostflake, reference 7.0.0 (397a9c), with Swift 6.1 for Wasm on 29 Jun 2026 11:10:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/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/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/frostflake.git
Revision (git rev-parse @):
397a9cb550d33367b9ec4e6e5a1a73151cc39de2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/frostflake.git at 7.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ordo-one/frostflake.git
https://github.com/ordo-one/frostflake.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-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/2325] Fetching swift-docc-plugin
[234/20274] Fetching swift-docc-plugin, swift-argument-parser
[1819/26215] Fetching swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.71s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.72s)
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.5.0 (1.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.2 (0.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
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
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.7.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
[10/18] Write swift-version-24593BA9C3E375BF.txt
[12/62] Emitting module SystemPackage
[13/67] Compiling SystemPackage SystemString.swift
[14/67] Compiling SystemPackage Util+StringArray.swift
[15/67] Compiling SystemPackage Util.swift
[16/67] Compiling SystemPackage UtilConsumers.swift
[17/67] Compiling SystemPackage WinSDK+Overlay.swift
[18/67] Compiling ArgumentParserToolInfo ToolInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/67] Emitting module ArgumentParserToolInfo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/68] Compiling SystemPackage FilePermissions.swift
[21/68] Compiling SystemPackage FileFlags.swift
[22/68] Compiling SystemPackage FileMode.swift
[23/68] Compiling SystemPackage FileType.swift
[24/68] Compiling SystemPackage Identifiers.swift
[25/68] Wrapping AST for ArgumentParserToolInfo for debugging
[27/115] Compiling Frostflake FrostflakeIdentifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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)
[28/115] Compiling Frostflake FrostflakeHelpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/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
[29/115] Compiling Frostflake FrostflakeIdentifier+Base58.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/115] Compiling ArgumentParser ArgumentSet.swift
[31/115] Compiling ArgumentParser CommandParser.swift
[32/115] Compiling ArgumentParser InputKey.swift
[33/115] Compiling ArgumentParser InputOrigin.swift
[34/115] Compiling ArgumentParser Mutex.swift
[35/115] Compiling ArgumentParser Argument.swift
[36/115] Compiling ArgumentParser ArgumentDiscussion.swift
[37/115] Compiling ArgumentParser ArgumentHelp.swift
[38/115] Compiling ArgumentParser ArgumentVisibility.swift
[39/115] Compiling ArgumentParser CompletionKind.swift
[40/115] Compiling ArgumentParser DumpHelpGenerator.swift
[41/115] Compiling ArgumentParser BashCompletionsGenerator.swift
[42/115] Compiling ArgumentParser CompletionsGenerator.swift
[43/115] Compiling ArgumentParser FishCompletionsGenerator.swift
[44/115] Compiling ArgumentParser ZshCompletionsGenerator.swift
[45/115] Compiling ArgumentParser ParentCommand.swift
[46/115] Compiling ArgumentParser AsyncParsableCommand.swift
[47/115] Compiling ArgumentParser CommandConfiguration.swift
[48/115] Compiling ArgumentParser CommandGroup.swift
[49/115] Compiling ArgumentParser EnumerableFlag.swift
[50/115] Compiling ArgumentParser ExpressibleByArgument.swift
[51/115] Compiling ArgumentParser ParsableArguments.swift
[52/115] Compiling ArgumentParser ParsableCommand.swift
[53/115] Compiling ArgumentParser ArgumentDecoder.swift
[54/115] Compiling ArgumentParser ArgumentDefinition.swift
[55/115] Compiling ArgumentParser Errors.swift
[56/115] Compiling ArgumentParser Flag.swift
[57/115] Compiling ArgumentParser NameSpecification.swift
[58/115] Compiling ArgumentParser Option.swift
[59/115] Compiling ArgumentParser OptionGroup.swift
[60/116] Wrapping AST for SystemPackage for debugging
[62/116] Compiling Frostflake Frostflake.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/116] Compiling Frostflake FrostflakeDefinitions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/116] Emitting module Frostflake
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/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/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
 4 |     import Glibc
 5 | #else
 6 |     #error("Unsupported Platform")
   |            `- error: Unsupported Platform
 7 | #endif
 8 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[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/12] Write swift-version-24593BA9C3E375BF.txt
[6/20] 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/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
[7/56] Compiling Frostflake FrostflakeDefinitions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/56] 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/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/FrostflakeIdentifier.swift:6:12: error: Unsupported Platform
 4 |     import Glibc
 5 | #else
 6 |     #error("Unsupported Platform")
   |            `- error: Unsupported Platform
 7 | #endif
 8 |
[9/56] Compiling Frostflake Frostflake.swift
[10/56] Compiling Frostflake FrostflakeIdentifier.swift
/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)
[11/56] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[12/56] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm