The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-gguf, reference 0.0.2 (d3c95a), with Swift 6.3 for Wasm on 19 Apr 2026 13:31:26 UTC.

Swift 6 data race errors: 0

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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-gguf.git
Reference: 0.0.2
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/jkrukowski/swift-gguf
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at d3c95a4 swift-binary-parsing version bump
Cloned https://github.com/jkrukowski/swift-gguf.git
Revision (git rev-parse @):
d3c95a4faa5338788628df7fb12287cac2b006cf
SUCCESS checkout https://github.com/jkrukowski/swift-gguf.git at 0.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/jkrukowski/swift-gguf.git
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: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-binary-parsing
Fetching https://github.com/apple/swift-numerics.git
[1/1310] Fetching swift-binary-parsing
[342/7726] Fetching swift-binary-parsing, swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.82s)
Fetched https://github.com/apple/swift-binary-parsing from cache (0.84s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.43s)
Computing version for https://github.com/apple/swift-binary-parsing
Computed https://github.com/apple/swift-binary-parsing at 0.0.2 (4.20s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.83s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (7.99s)
Creating working copy for https://github.com/apple/swift-binary-parsing
Working copy of https://github.com/apple/swift-binary-parsing resolved at 0.0.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.39s)
Building for debugging...
[0/15] Write sources
[4/15] Copying Data
[5/15] Write sources
[9/15] Compiling _NumericsShims _NumericsShims.c
[10/15] Compiling GGMLQuants ggml_quants.c
[11/15] Write swift-version-24593BA9C3E375BF.txt
[13/36] Compiling RealModule RealFunctions.swift
[14/37] Compiling RealModule RelaxedArithmetic.swift
[15/37] Compiling RealModule Real.swift
[16/37] Compiling RealModule Float80+Real.swift
[17/37] Compiling RealModule Float16+Real.swift
[18/37] Compiling RealModule AugmentedArithmetic.swift
[19/37] Compiling RealModule Double+Real.swift
[20/37] Compiling RealModule AlgebraicField.swift
[21/37] Compiling RealModule ApproximateEquality.swift
[22/37] Emitting module RealModule
[23/37] Compiling RealModule ElementaryFunctions.swift
[24/37] Compiling RealModule Float+Real.swift
[26/49] Compiling ComplexModule Complex+StringConvertible.swift
[27/50] Compiling ComplexModule Complex+Hashable.swift
[28/50] Compiling ComplexModule Complex+IntegerLiteral.swift
[29/50] Compiling ComplexModule Complex+Numeric.swift
[30/50] Compiling BinaryParsingMacros Extensions.swift
[31/50] Compiling ComplexModule Polar.swift
[32/50] Compiling ComplexModule Complex.swift
[33/50] Compiling ComplexModule Scale.swift
[34/51] Compiling BinaryParsingMacros Plugin.swift
[35/51] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[36/51] Compiling ComplexModule Complex+AlgebraicField.swift
[37/51] Compiling ComplexModule Complex+Codable.swift
[38/51] Compiling ComplexModule Complex+ElementaryFunctions.swift
[39/51] Compiling BinaryParsingMacros SyntaxVisitorPredicate.swift
[40/51] Emitting module ComplexModule
[42/52] Compiling BinaryParsingMacros ParserMacroVisitors.swift
[43/52] Compiling BinaryParsingMacros ParserMacroRewriters.swift
[44/54] Compiling Numerics Numerics.swift
[45/54] Emitting module Numerics
[46/55] Emitting module Quants
[47/55] Compiling Quants Dequantize.swift
[50/59] Compiling TestData resource_bundle_accessor.swift
[51/59] Emitting module TestData
[52/59] Compiling TestData Utils.swift
[54/60] Compiling BinaryParsingMacros ParserMacro.swift
[55/60] Compiling BinaryParsingMacros MagicNumberStringMacro.swift
[56/60] Emitting module BinaryParsingMacros
[57/60] Compiling BinaryParsingMacros ParserMacroRegexes.swift
[58/61] Wrapping AST for BinaryParsingMacros for debugging
[59/61] Write Objects.LinkFileList
[60/61] Linking BinaryParsingMacros-tool
[62/80] Compiling BinaryParsing IntegerProtocols.swift
[63/80] Compiling BinaryParsing Range.swift
[64/82] Compiling BinaryParsing String.swift
[65/82] Compiling BinaryParsing LinuxRNGSupport.swift
[66/82] Compiling BinaryParsing ParserRange.swift
[67/82] Compiling BinaryParsing ParserSource.swift
[68/82] Compiling BinaryParsing ParserSpan.swift
[69/82] Emitting module BinaryParsing
[70/82] Compiling BinaryParsing Optionators.swift
[71/82] Compiling BinaryParsing ThrowingOperations.swift
[72/82] Compiling BinaryParsing Endianness.swift
[73/82] Compiling BinaryParsing Array.swift
[74/82] Compiling BinaryParsing Data.swift
[75/82] Compiling BinaryParsing ParsingError.swift
[76/82] Compiling BinaryParsing Seeking.swift
[77/82] Compiling BinaryParsing Slicing.swift
[78/82] Compiling BinaryParsing Macros.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[79/82] Compiling BinaryParsing MagicNumber.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[80/82] Compiling BinaryParsing OptionalOperations.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[81/82] Compiling BinaryParsing InlineArray.swift
[82/82] Compiling BinaryParsing Integer.swift
[84/92] Compiling GGUF Header.swift
[85/92] Compiling GGUF MetadataKeyValue.swift
[86/93] Compiling GGUF Utils.swift
[87/93] Compiling GGUF ValueType.swift
[88/93] Compiling GGUF TensorInfo.swift
[89/93] Compiling GGUF TensorType.swift
[90/93] Emitting module GGUF
[91/93] Compiling GGUF Extensions.swift
[92/93] Compiling GGUF GGUF.swift
[93/93] Compiling GGUF MetadataValue.swift
Build complete! (36.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-binary-parsing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-binary-parsing"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics.git"
    }
  ],
  "manifest_display_name" : "swift-gguf",
  "name" : "swift-gguf",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "GGUF",
      "targets" : [
        "GGUF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestData",
      "module_type" : "SwiftTarget",
      "name" : "TestData",
      "path" : "Sources/TestData",
      "product_dependencies" : [
        "Numerics"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/TestData/Data",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "QuantsTests",
      "module_type" : "SwiftTarget",
      "name" : "QuantsTests",
      "path" : "Tests/QuantsTests",
      "product_dependencies" : [
        "Numerics"
      ],
      "sources" : [
        "DequantizeEdgeCaseTests.swift",
        "DequantizeTests.swift"
      ],
      "target_dependencies" : [
        "Quants",
        "TestData"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Quants",
      "module_type" : "SwiftTarget",
      "name" : "Quants",
      "path" : "Sources/Quants",
      "product_memberships" : [
        "GGUF"
      ],
      "sources" : [
        "Dequantize.swift"
      ],
      "target_dependencies" : [
        "GGMLQuants"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GGUFTests",
      "module_type" : "SwiftTarget",
      "name" : "GGUFTests",
      "path" : "Tests/GGUFTests",
      "product_dependencies" : [
        "Numerics"
      ],
      "sources" : [
        "DequantizeTests.swift",
        "HeaderTests.swift",
        "MetadataTests.swift",
        "StringTests.swift",
        "TensorInfoTests.swift",
        "Tests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "Quants",
        "GGUF",
        "TestData"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GGUF",
      "module_type" : "SwiftTarget",
      "name" : "GGUF",
      "path" : "Sources/GGUF",
      "product_dependencies" : [
        "BinaryParsing"
      ],
      "product_memberships" : [
        "GGUF"
      ],
      "sources" : [
        "Extensions.swift",
        "GGUF.swift",
        "Header.swift",
        "MetadataKeyValue.swift",
        "MetadataValue.swift",
        "TensorInfo.swift",
        "TensorType.swift",
        "Utils.swift",
        "ValueType.swift"
      ],
      "target_dependencies" : [
        "Quants"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GGMLQuants",
      "module_type" : "ClangTarget",
      "name" : "GGMLQuants",
      "path" : "Sources/GGMLQuants",
      "product_memberships" : [
        "GGUF"
      ],
      "sources" : [
        "ggml_quants.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
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
Done.