The Swift Package Index logo.Swift Package Index

Build Information

Failed to build package-frostflake, reference main (6cece5), with Swift 6.1 for Android on 27 Mar 2026 20:20:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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:         android
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-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-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/2171] Fetching swift-docc-plugin
[240/19635] Fetching swift-docc-plugin, swift-argument-parser
[786/25236] Fetching swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-docc-plugin from cache (0.72s)
[19573/23065] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.80s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.32s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (5.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.41s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.91s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.92s)
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/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.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 ArgumentParserToolInfo ToolInfo.swift
[14/61] Emitting module ArgumentParserToolInfo
[15/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
[16/62] Compiling SystemPackage SystemString.swift
[17/62] Compiling SystemPackage Util+StringArray.swift
[18/62] Compiling SystemPackage Util.swift
[19/62] Compiling SystemPackage UtilConsumers.swift
[21/62] Compiling SystemPackage FilePathSyntax.swift
[22/62] Compiling SystemPackage FilePathTemp.swift
[23/62] Compiling SystemPackage FilePathTempPosix.swift
[24/62] Compiling SystemPackage FilePathTempWindows.swift
[25/62] Compiling Frostflake FrostflakeDefinitions.swift
[26/62] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[27/62] 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)
[27/62] Wrapping AST for ArgumentParserToolInfo for debugging
[29/62] Compiling SystemPackage FilePath.swift
[30/62] Compiling SystemPackage FilePathComponentView.swift
[31/62] Compiling SystemPackage FilePathComponents.swift
[32/62] Compiling SystemPackage FilePathParsing.swift
[33/62] Compiling SystemPackage FilePathString.swift
[34/62] Compiling SystemPackage Errno.swift
[35/62] Compiling SystemPackage ErrnoWindows.swift
[36/62] Compiling SystemPackage FileDescriptor.swift
[37/62] Compiling SystemPackage FileHelpers.swift
[38/62] Compiling SystemPackage FileOperations.swift
[39/62] Compiling SystemPackage FilePathWindows.swift
[40/62] Compiling SystemPackage FilePermissions.swift
[41/62] Compiling SystemPackage IOCompletion.swift
[42/62] Compiling SystemPackage IORequest.swift
[43/108] Compiling ArgumentParser CompletionsGenerator.swift
[44/108] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/108] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/108] Compiling ArgumentParser Argument.swift
[47/108] Compiling ArgumentParser ArgumentVisibility.swift
[48/108] Compiling ArgumentParser CompletionKind.swift
[49/108] Compiling ArgumentParser Errors.swift
[50/108] Compiling ArgumentParser Flag.swift
[51/108] Compiling ArgumentParser NameSpecification.swift
[52/108] Compiling ArgumentParser Option.swift
[53/108] Compiling ArgumentParser OptionGroup.swift
[54/108] Compiling ArgumentParser BashCompletionsGenerator.swift
[55/109] Wrapping AST for SystemPackage for debugging
[57/109] Emitting module ArgumentParser
[58/115] Compiling ArgumentParser ParentCommand.swift
[59/115] Compiling ArgumentParser AsyncParsableCommand.swift
[60/115] Compiling ArgumentParser CommandConfiguration.swift
[61/115] Compiling ArgumentParser CommandGroup.swift
[62/115] Compiling ArgumentParser EnumerableFlag.swift
[63/115] Compiling ArgumentParser ExpressibleByArgument.swift
[64/115] Compiling ArgumentParser ParsableArguments.swift
[65/115] Compiling ArgumentParser Foundation.swift
[66/115] Compiling ArgumentParser Mutex.swift
[67/115] Compiling ArgumentParser Platform.swift
[68/115] Compiling ArgumentParser SequenceExtensions.swift
[69/115] Compiling ArgumentParser StringExtensions.swift
[70/115] Compiling ArgumentParser SwiftExtensions.swift
[71/115] Compiling ArgumentParser InputOrigin.swift
[72/115] Compiling ArgumentParser Name.swift
[73/115] Compiling ArgumentParser Parsed.swift
[74/115] Compiling ArgumentParser ParsedValues.swift
[75/115] Compiling ArgumentParser ParserError.swift
[76/115] Compiling ArgumentParser SplitArguments.swift
[77/115] Compiling ArgumentParser DumpHelpGenerator.swift
[78/115] Compiling ArgumentParser HelpCommand.swift
[79/115] Compiling ArgumentParser HelpGenerator.swift
[80/115] Compiling ArgumentParser MessageInfo.swift
[81/115] Compiling ArgumentParser UsageGenerator.swift
[82/115] Compiling ArgumentParser CollectionExtensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/115] Compiling Frostflake Frostflake.swift
[84/115] 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 |
[85/115] Compiling ArgumentParser Tree.swift
[86/115] Compiling ArgumentParser CodingKeyValidator.swift
[87/115] Compiling ArgumentParser NonsenseFlagsValidator.swift
[88/115] Compiling ArgumentParser ParsableArgumentsValidation.swift
[89/115] Compiling ArgumentParser PositionalArgumentsValidator.swift
[90/115] Compiling ArgumentParser UniqueNamesValidator.swift
[96/115] Compiling ArgumentParser ArgumentDiscussion.swift
[97/115] Compiling ArgumentParser ArgumentHelp.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-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 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)
[7/51] 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
[8/51] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[9/51] Compiling Frostflake FrostflakeDefinitions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/51] 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 |
[11/51] Compiling Frostflake Frostflake.swift
[12/51] Compiling SystemPackage IORing.swift
[13/51] Compiling SystemPackage RawIORequest.swift
[14/51] Compiling SystemPackage Backcompat.swift
[15/51] Compiling SystemPackage CInterop.swift
[16/51] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android