The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftWebGPU, reference main (df2bc6), with Swift 6.2 for Wasm on 1 Mar 2026 15:39:51 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/swift-webgpu.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/1amageek/swift-webgpu
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at df2bc6a Update macOS platform requirement to v13 for JavaScriptKit 0.46.4
Cloned https://github.com/1amageek/swift-webgpu.git
Revision (git rev-parse @):
df2bc6ad734c96bfe8ea03f313776233bb1c97b0
SUCCESS checkout https://github.com/1amageek/swift-webgpu.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/1amageek/swift-webgpu.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftwasm/JavaScriptKit
[1/34919] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (2.14s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.46.4 (3.56s)
Fetching https://github.com/swiftlang/swift-syntax
[1/74541] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.77s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (7.17s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.46.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.40s)
[1/1] Compiling plugin BridgeJSCommandPlugin
[2/2] Compiling plugin BridgeJS
[3/3] Compiling plugin PackageToJS
Building for debugging...
[3/13] Write sources
[7/13] Compiling _CJavaScriptKit _CJavaScriptKit.c
[8/13] Compiling _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[9/13] Write swift-version-24593BA9C3E375BF.txt
[11/20] Compiling BridgeJSMacros JSClassMacro.swift
[12/20] Compiling BridgeJSMacros BridgeJSMacrosPlugin.swift
[13/20] Emitting module BridgeJSMacros
[14/20] Compiling BridgeJSMacros JSGetterMacro.swift
[15/20] Compiling BridgeJSMacros JSSetterMacro.swift
[16/20] Compiling BridgeJSMacros JSFunctionMacro.swift
[17/20] Compiling BridgeJSMacros JSMacroSupport.swift
[18/21] Wrapping AST for BridgeJSMacros for debugging
[19/21] Write Objects.LinkFileList
[20/21] Linking BridgeJSMacros-tool
[22/23] Compiling JavaScriptKit JSArray.swift
[23/23] Emitting module JavaScriptKit
[25/26] Emitting module JavaScriptEventLoop
[26/26] Compiling JavaScriptEventLoop JSSending.swift
[28/29] Emitting module SwiftWebGPU
[29/29] Compiling SwiftWebGPU GPU.swift
Build complete! (57.87s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "javascriptkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.37.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftwasm/JavaScriptKit"
    }
  ],
  "manifest_display_name" : "SwiftWebGPU",
  "name" : "SwiftWebGPU",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftWebGPU",
      "targets" : [
        "SwiftWebGPU"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftWebGPUTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftWebGPUTests",
      "path" : "Tests/SwiftWebGPUTests",
      "sources" : [
        "SwiftWebGPUTests.swift"
      ],
      "target_dependencies" : [
        "SwiftWebGPU"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftWebGPU",
      "module_type" : "SwiftTarget",
      "name" : "SwiftWebGPU",
      "path" : "Sources/SwiftWebGPU",
      "product_dependencies" : [
        "JavaScriptKit",
        "JavaScriptEventLoop"
      ],
      "product_memberships" : [
        "SwiftWebGPU"
      ],
      "sources" : [
        "GPU.swift",
        "GPUAdapter.swift",
        "GPUBindGroup.swift",
        "GPUBuffer.swift",
        "GPUCanvasContext.swift",
        "GPUCommandEncoder.swift",
        "GPUDevice.swift",
        "GPUEnums.swift",
        "GPUErrors.swift",
        "GPUFlags.swift",
        "GPUQueue.swift",
        "GPURenderPassEncoder.swift",
        "GPURenderPipeline.swift",
        "GPUSampler.swift",
        "GPUShaderModule.swift",
        "GPUTexture.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.