The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-webgpu, reference main (bda307), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 07:25:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/henrybetts/swift-webgpu.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/henrybetts/swift-webgpu
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bda307b add support for optional returns
Cloned https://github.com/henrybetts/swift-webgpu.git
Revision (git rev-parse @):
bda307ba08e3377352719453ec55915b6653a15f
SUCCESS checkout https://github.com/henrybetts/swift-webgpu.git at main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftGFX/SwiftMath
[1/972] Fetching swiftmath
[973/18495] Fetching swiftmath, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.61s)
Fetched https://github.com/SwiftGFX/SwiftMath from cache (1.61s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (2.32s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.62s)
Creating working copy for https://github.com/SwiftGFX/SwiftMath
Working copy of https://github.com/SwiftGFX/SwiftMath resolved at 3.3.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-webgpu",
      "name": "swift-webgpu",
      "url": "https://github.com/henrybetts/swift-webgpu.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-webgpu",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.7.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/henrybetts/swift-webgpu.git
[1/2161] Fetching swift-webgpu
Fetched https://github.com/henrybetts/swift-webgpu.git from cache (0.94s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.64s)
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/henrybetts/swift-webgpu.git
Working copy of https://github.com/henrybetts/swift-webgpu.git resolved at main (bda307b)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/henrybetts/swift-webgpu.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[0/8] Write sources
[2/8] Write generate-webgpu-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/10] Emitting module ArgumentParserToolInfo
[8/57] Emitting module ArgumentParser
[9/62] Compiling ArgumentParser ArgumentHelp.swift
[10/62] Compiling ArgumentParser ArgumentVisibility.swift
[11/62] Compiling ArgumentParser CompletionKind.swift
[12/62] Compiling ArgumentParser Errors.swift
[13/62] Compiling ArgumentParser Flag.swift
[14/62] Compiling ArgumentParser NameSpecification.swift
[15/62] Compiling ArgumentParser Option.swift
[16/62] Compiling ArgumentParser OptionGroup.swift
[17/62] Compiling ArgumentParser ParentCommand.swift
[18/62] Compiling ArgumentParser AsyncParsableCommand.swift
[19/62] Compiling ArgumentParser CommandConfiguration.swift
[20/62] Compiling ArgumentParser CommandGroup.swift
[21/62] Compiling ArgumentParser EnumerableFlag.swift
[22/62] Compiling ArgumentParser ExpressibleByArgument.swift
[23/62] Compiling ArgumentParser ParsableArguments.swift
[24/62] Compiling ArgumentParser ParserError.swift
[25/62] Compiling ArgumentParser SplitArguments.swift
[26/62] Compiling ArgumentParser DumpHelpGenerator.swift
[27/62] Compiling ArgumentParser HelpCommand.swift
[28/62] Compiling ArgumentParser HelpGenerator.swift
[29/62] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/62] Compiling ArgumentParser CompletionsGenerator.swift
[31/62] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/62] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/62] Compiling ArgumentParser Argument.swift
[34/62] Compiling ArgumentParser ArgumentDiscussion.swift
[35/62] Compiling ArgumentParser CodingKeyValidator.swift
[36/62] Compiling ArgumentParser NonsenseFlagsValidator.swift
[37/62] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/62] Compiling ArgumentParser PositionalArgumentsValidator.swift
[39/62] Compiling ArgumentParser UniqueNamesValidator.swift
[40/62] Compiling ArgumentParser InputKey.swift
[41/62] Compiling ArgumentParser InputOrigin.swift
[42/62] Compiling ArgumentParser Name.swift
[43/62] Compiling ArgumentParser Parsed.swift
[44/62] Compiling ArgumentParser ParsedValues.swift
[45/62] Compiling ArgumentParser Platform.swift
[46/62] Compiling ArgumentParser SequenceExtensions.swift
[47/62] Compiling ArgumentParser StringExtensions.swift
[48/62] Compiling ArgumentParser SwiftExtensions.swift
[49/62] Compiling ArgumentParser Tree.swift
[50/62] Compiling ArgumentParser ParsableCommand.swift
[51/62] Compiling ArgumentParser ArgumentDecoder.swift
[52/62] Compiling ArgumentParser ArgumentDefinition.swift
[53/62] Compiling ArgumentParser ArgumentSet.swift
[54/62] Compiling ArgumentParser CommandParser.swift
[55/62] Compiling ArgumentParser MessageInfo.swift
[56/62] Compiling ArgumentParser UsageGenerator.swift
[57/62] Compiling ArgumentParser CollectionExtensions.swift
[58/62] Compiling ArgumentParser Foundation.swift
[59/62] Compiling ArgumentParser Mutex.swift
[60/90] Compiling generate_webgpu String+CodingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/Decoding/String+CodingKey.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 1 | extension String: CodingKey {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 2 |     public init?(stringValue: String) {
 3 |         self.init(stringValue)
[61/90] Compiling generate_webgpu Taggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/Decoding/String+CodingKey.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 1 | extension String: CodingKey {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 2 |     public init?(stringValue: String) {
 3 |         self.init(stringValue)
[62/90] Compiling generate_webgpu CodeBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/Decoding/String+CodingKey.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 1 | extension String: CodingKey {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 2 |     public init?(stringValue: String) {
 3 |         self.init(stringValue)
[63/93] Compiling generate_webgpu CallbackFunctionType.swift
[64/93] Compiling generate_webgpu CallbackInfoType.swift
[65/93] Compiling generate_webgpu EnumType.swift
[66/93] Compiling generate_webgpu FunctionPointerType.swift
[67/93] Compiling generate_webgpu FunctionType.swift
[68/93] Compiling generate_webgpu Model.swift
[69/93] Compiling generate_webgpu GenerateStructs.swift
[70/93] Compiling generate_webgpu GenerateWebGPU.swift
[71/93] Compiling generate_webgpu BitmaskType.swift
[72/93] Compiling generate_webgpu GenerateFunctionTypes.swift
[73/93] Compiling generate_webgpu GenerateFunctions.swift
[74/93] Compiling generate_webgpu GenerateOptionSets.swift
[75/93] Compiling generate_webgpu Conversion.swift
[76/93] Compiling generate_webgpu GenerateCallbackInfo.swift
[77/93] Compiling generate_webgpu GenerateCallbacks.swift
[78/93] Compiling generate_webgpu NativeType.swift
[79/93] Compiling generate_webgpu ObjectType.swift
[80/93] Compiling generate_webgpu Record.swift
[81/93] Compiling generate_webgpu GenerateClasses.swift
[82/93] Compiling generate_webgpu GenerateEnums.swift
[83/93] Compiling generate_webgpu GenerateFunction.swift
[84/93] Compiling generate_webgpu StringUtils.swift
[85/93] Compiling generate_webgpu StructureType.swift
[86/93] Compiling generate_webgpu Type.swift
[87/93] Emitting module generate_webgpu
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/Decoding/String+CodingKey.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 1 | extension String: CodingKey {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 2 |     public init?(stringValue: String) {
 3 |         self.init(stringValue)
[88/93] Compiling generate_webgpu DawnData.swift
[89/93] Compiling generate_webgpu DefaultFallback.swift
[90/93] Compiling generate_webgpu HasDefaultValue.swift
[90/93] Write Objects.LinkFileList
[91/93] Linking generate-webgpu-tool
[92/93] Applying generate-webgpu-tool
[1/1] Compiling plugin GenerateWebGPUPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/51] Write sources
[3/51] Write generate-webgpu-tool-entitlement.plist
[3/51] Write generate-webgpu-entitlement.plist
[3/51] Write sources
[3/51] Write DemoTriangle-entitlement.plist
[3/51] Write sources
[3/51] Write DemoInfo-entitlement.plist
[11/51] Write sources
[11/51] Write DemoCube-entitlement.plist
[11/51] Write sources
[11/51] Write DemoBoids-entitlement.plist
[11/51] Write sources
[20/51] Write DemoClearColor-entitlement.plist
[22/51] Write sources
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/admin/builder/spi-builder-workspace/Sources/CDawnNative/include/dawn_native.h:1:10: fatal error: 'dawn/webgpu.h' file not found
    1 | #include <dawn/webgpu.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[24/51] Compiling CDawnNative dawn_native.cpp
[24/51] Write swift-version--6988338F2F200930.txt
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for webgpu
warning: you may be able to install glfw3 using your system-packager:
    brew install glfw
warning: couldn't find pc file for webgpu
warning: you may be able to install glfw3 using your system-packager:
    brew install glfw
BUILD FAILURE 6.3 macosSpm