The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-webgpu, reference main (bda307), with Swift 6.2 for macOS (SPM) on 19 Oct 2025 01:17:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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/SwiftGFX/SwiftMath
Fetching https://github.com/apple/swift-argument-parser
[1/972] Fetching swiftmath
[973/17654] Fetching swiftmath, swift-argument-parser
Fetched https://github.com/SwiftGFX/SwiftMath from cache (1.39s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.39s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (2.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.56s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/SwiftGFX/SwiftMath
Working copy of https://github.com/SwiftGFX/SwiftMath resolved at 3.3.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",
  "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",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.6.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/henrybetts/swift-webgpu.git
[1/1926] Fetching swift-webgpu
Fetched https://github.com/henrybetts/swift-webgpu.git from cache (0.95s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.57s)
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)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/henrybetts/swift-webgpu.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
[0/8] Write sources
[0/8] Write generate-webgpu-tool-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/10] Emitting module ArgumentParserToolInfo
[7/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/56] Emitting module ArgumentParser
[9/60] Compiling ArgumentParser CommandConfiguration.swift
[10/60] Compiling ArgumentParser CommandGroup.swift
[11/60] Compiling ArgumentParser EnumerableFlag.swift
[12/60] Compiling ArgumentParser ExpressibleByArgument.swift
[13/60] Compiling ArgumentParser ParsableArguments.swift
[14/60] Compiling ArgumentParser SequenceExtensions.swift
[15/60] Compiling ArgumentParser StringExtensions.swift
[16/60] Compiling ArgumentParser SwiftExtensions.swift
[17/60] Compiling ArgumentParser Tree.swift
[18/60] Compiling ArgumentParser CodingKeyValidator.swift
[19/60] Compiling ArgumentParser NonsenseFlagsValidator.swift
[20/60] Compiling ArgumentParser ParsableArgumentsValidation.swift
[21/60] Compiling ArgumentParser PositionalArgumentsValidator.swift
[22/60] Compiling ArgumentParser UniqueNamesValidator.swift
[23/60] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/60] Compiling ArgumentParser CompletionsGenerator.swift
[25/60] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/60] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/60] Compiling ArgumentParser Argument.swift
[28/60] Compiling ArgumentParser ArgumentDiscussion.swift
[29/60] Compiling ArgumentParser ArgumentHelp.swift
[30/60] Compiling ArgumentParser ArgumentVisibility.swift
[31/60] Compiling ArgumentParser CompletionKind.swift
[32/60] Compiling ArgumentParser Errors.swift
[33/60] Compiling ArgumentParser InputKey.swift
[34/60] Compiling ArgumentParser InputOrigin.swift
[35/60] Compiling ArgumentParser Name.swift
[36/60] Compiling ArgumentParser Parsed.swift
[37/60] Compiling ArgumentParser ParsedValues.swift
[38/60] Compiling ArgumentParser ParserError.swift
[39/60] Compiling ArgumentParser SplitArguments.swift
[40/60] Compiling ArgumentParser DumpHelpGenerator.swift
[41/60] Compiling ArgumentParser HelpCommand.swift
[42/60] Compiling ArgumentParser HelpGenerator.swift
[43/60] Compiling ArgumentParser MessageInfo.swift
[44/60] Compiling ArgumentParser UsageGenerator.swift
[45/60] Compiling ArgumentParser CollectionExtensions.swift
[46/60] Compiling ArgumentParser Mutex.swift
[47/60] Compiling ArgumentParser Platform.swift
[48/60] Compiling ArgumentParser Flag.swift
[49/60] Compiling ArgumentParser NameSpecification.swift
[50/60] Compiling ArgumentParser Option.swift
[51/60] Compiling ArgumentParser OptionGroup.swift
[52/60] Compiling ArgumentParser AsyncParsableCommand.swift
[53/60] Compiling ArgumentParser ParsableCommand.swift
[54/60] Compiling ArgumentParser ArgumentDecoder.swift
[55/60] Compiling ArgumentParser ArgumentDefinition.swift
[56/60] Compiling ArgumentParser ArgumentSet.swift
[57/60] Compiling ArgumentParser CommandParser.swift
[58/88] 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)
[59/91] Compiling generate_webgpu Conversion.swift
[60/91] Compiling generate_webgpu GenerateCallbackInfo.swift
[61/91] Compiling generate_webgpu GenerateCallbacks.swift
[62/91] Compiling generate_webgpu CallbackFunctionType.swift
[63/91] Compiling generate_webgpu CallbackInfoType.swift
[64/91] Compiling generate_webgpu EnumType.swift
[65/91] Compiling generate_webgpu StringUtils.swift
[66/91] Compiling generate_webgpu StructureType.swift
[67/91] Compiling generate_webgpu Type.swift
[68/91] 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)
[69/91] 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)
[70/91] 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)
[71/91] Compiling generate_webgpu DawnData.swift
[72/91] Compiling generate_webgpu DefaultFallback.swift
[73/91] Compiling generate_webgpu HasDefaultValue.swift
[74/91] Compiling generate_webgpu FunctionPointerType.swift
[75/91] Compiling generate_webgpu FunctionType.swift
[76/91] Compiling generate_webgpu Model.swift
[77/91] Compiling generate_webgpu GenerateStructs.swift
[78/91] Compiling generate_webgpu GenerateWebGPU.swift
[79/91] Compiling generate_webgpu BitmaskType.swift
[80/91] Compiling generate_webgpu GenerateFunctionTypes.swift
[81/91] Compiling generate_webgpu GenerateFunctions.swift
[82/91] Compiling generate_webgpu GenerateOptionSets.swift
[83/91] Compiling generate_webgpu GenerateClasses.swift
[84/91] Compiling generate_webgpu GenerateEnums.swift
[85/91] Compiling generate_webgpu GenerateFunction.swift
[86/91] Compiling generate_webgpu NativeType.swift
[87/91] Compiling generate_webgpu ObjectType.swift
[88/91] Compiling generate_webgpu Record.swift
[88/91] Write Objects.LinkFileList
[89/91] Linking generate-webgpu-tool
[90/91] 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 DemoInfo-entitlement.plist
[4/51] Write DemoTriangle-entitlement.plist
[9/51] Write DemoCube-entitlement.plist
[14/51] Write sources
[17/51] Write DemoClearColor-entitlement.plist
[18/51] Write sources
[18/51] Write DemoBoids-entitlement.plist
[18/51] Write sources
[24/51] Write swift-version-49B95AFC49DCD68C.txt
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.
[25/51] Compiling CDawnNative dawn_native.cpp
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.2 macosSpm