The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-gguf, reference 0.0.2 (d3c95a), with Swift 6.1 for Wasm on 29 Mar 2026 16:05:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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.1
Building package at path:  $PWD
https://github.com/jkrukowski/swift-gguf.git
https://github.com/jkrukowski/swift-gguf.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
BUILD FAILURE 6.1 wasm