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 26 Feb 2026 09:43:55 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path:  $PWD
https://github.com/ordo-one/package-frostflake.git
https://github.com/ordo-one/package-frostflake.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "package-frostflake",
  "name" : "package-frostflake",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "Frostflake",
      "targets" : [
        "Frostflake"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "flake",
      "targets" : [
        "FrostflakeUtility"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FrostflakeUtility",
      "module_type" : "SwiftTarget",
      "name" : "FrostflakeUtility",
      "path" : "Sources/FrostflakeUtility",
      "product_dependencies" : [
        "ArgumentParser",
        "SystemPackage"
      ],
      "product_memberships" : [
        "flake"
      ],
      "sources" : [
        "FrostflakeUtility.swift"
      ],
      "target_dependencies" : [
        "Frostflake"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FrostflakeTests",
      "module_type" : "SwiftTarget",
      "name" : "FrostflakeTests",
      "path" : "Tests/FrostflakeTests",
      "sources" : [
        "EpochDateTime.swift",
        "FrostflakeTests.swift",
        "SharedGeneratorSuiteTrait.swift",
        "SharedGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "FrostflakeUtility",
        "Frostflake"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Frostflake",
      "module_type" : "SwiftTarget",
      "name" : "Frostflake",
      "path" : "Sources/Frostflake",
      "product_memberships" : [
        "Frostflake",
        "flake"
      ],
      "sources" : [
        "Frostflake.swift",
        "FrostflakeDefinitions.swift",
        "FrostflakeHelpers.swift",
        "FrostflakeIdentifier+Base58.swift",
        "FrostflakeIdentifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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/2171] Fetching swift-docc-plugin
[240/19343] Fetching swift-docc-plugin, swift-argument-parser
[949/24926] Fetching swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.60s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.60s)
[15970/17172] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.27s)
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.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.21s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.58s)
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-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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[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/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 ArgumentParserToolInfo ToolInfo.swift
[16/58] Emitting module SystemPackage
[17/62] Compiling SystemPackage FilePathSyntax.swift
[18/62] Compiling SystemPackage FilePathTemp.swift
[19/62] Compiling SystemPackage FilePathTempPosix.swift
[20/62] Compiling SystemPackage FilePathTempWindows.swift
[21/62] Compiling SystemPackage FilePath.swift
[22/62] Compiling SystemPackage FilePathComponentView.swift
[23/62] Compiling SystemPackage FilePathComponents.swift
[24/62] Compiling SystemPackage FilePathParsing.swift
[25/62] Compiling SystemPackage FilePathString.swift
[26/62] Compiling SystemPackage Errno.swift
[27/62] Compiling SystemPackage ErrnoWindows.swift
[28/62] Compiling SystemPackage FileDescriptor.swift
[29/62] Compiling SystemPackage FileHelpers.swift
[30/62] Compiling SystemPackage FileOperations.swift
[31/62] Compiling Frostflake FrostflakeDefinitions.swift
[32/62] 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
[33/62] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[33/62] Wrapping AST for ArgumentParserToolInfo for debugging
[35/108] Compiling ArgumentParser ParentCommand.swift
[36/108] Compiling ArgumentParser AsyncParsableCommand.swift
[37/108] Compiling ArgumentParser CommandConfiguration.swift
[38/108] Compiling ArgumentParser CommandGroup.swift
[39/108] Compiling ArgumentParser Name.swift
[40/108] Compiling ArgumentParser Parsed.swift
[41/108] Compiling ArgumentParser ParsedValues.swift
[42/108] Compiling ArgumentParser ParserError.swift
[43/108] Compiling ArgumentParser SplitArguments.swift
[44/108] Compiling ArgumentParser ArgumentVisibility.swift
[45/108] Compiling ArgumentParser CompletionKind.swift
[46/108] Compiling ArgumentParser Errors.swift
[47/108] Compiling ArgumentParser Flag.swift
[48/108] Compiling ArgumentParser NameSpecification.swift
[49/108] Compiling ArgumentParser Option.swift
[50/108] Compiling ArgumentParser OptionGroup.swift
[51/108] Compiling ArgumentParser EnumerableFlag.swift
[52/108] Compiling ArgumentParser ExpressibleByArgument.swift
[53/108] Compiling ArgumentParser ParsableArguments.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/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 |
[58/109] Compiling Frostflake Frostflake.swift
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/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/51] Compiling SystemPackage IORing.swift
[7/51] Compiling SystemPackage RawIORequest.swift
[8/51] Compiling SystemPackage Backcompat.swift
[9/51] Compiling SystemPackage CInterop.swift
[10/51] Compiling Frostflake FrostflakeDefinitions.swift
[11/55] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[12/55] 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)
[13/55] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/55] Compiling Frostflake Frostflake.swift
[15/55] 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 |
[16/55] Compiling SystemPackage Syscalls.swift
[17/55] Compiling SystemPackage WindowsSyscallAdapters.swift
[18/55] Compiling SystemPackage MachPort.swift
[19/55] Compiling SystemPackage PlatformString.swift
[20/55] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm