The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-webgpu, reference main (a7aca6), with Swift 6.2 (beta) for macOS (SPM) on 28 Jun 2025 17:57:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 a7aca68 fix device options renamed to descriptor
Cloned https://github.com/henrybetts/swift-webgpu.git
Revision (git rev-parse @):
a7aca68bb2764f2125d903012c7a63d723bb00f1
SUCCESS checkout https://github.com/henrybetts/swift-webgpu.git at main
========================================
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-Beta.app xcrun swift build --arch arm64
[0/8] Write sources
[0/8] Write generate-webgpu-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-1EA4D86E10B52AF.txt
[6/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/10] Emitting module ArgumentParserToolInfo
[8/49] Compiling ArgumentParser CommandConfiguration.swift
[9/49] Compiling ArgumentParser CommandGroup.swift
[10/49] Compiling ArgumentParser EnumerableFlag.swift
[11/49] Compiling ArgumentParser ExpressibleByArgument.swift
[12/53] Compiling ArgumentParser NameSpecification.swift
[13/53] Compiling ArgumentParser Option.swift
[14/53] Compiling ArgumentParser OptionGroup.swift
[15/53] Compiling ArgumentParser AsyncParsableCommand.swift
[16/53] Compiling ArgumentParser InputOrigin.swift
[17/53] Compiling ArgumentParser Name.swift
[18/53] Compiling ArgumentParser Parsed.swift
[19/53] Compiling ArgumentParser ParsedValues.swift
[20/53] Emitting module ArgumentParser
[21/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/53] Compiling ArgumentParser CompletionsGenerator.swift
[23/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/53] Compiling ArgumentParser Argument.swift
[26/53] Compiling ArgumentParser ArgumentHelp.swift
[27/53] Compiling ArgumentParser ArgumentVisibility.swift
[28/53] Compiling ArgumentParser CompletionKind.swift
[29/53] Compiling ArgumentParser Errors.swift
[30/53] Compiling ArgumentParser Flag.swift
[31/53] Compiling ArgumentParser ParsableArguments.swift
[32/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[33/53] Compiling ArgumentParser ParsableCommand.swift
[34/53] Compiling ArgumentParser ArgumentDecoder.swift
[35/53] Compiling ArgumentParser ArgumentDefinition.swift
[36/53] Compiling ArgumentParser ArgumentSet.swift
[37/53] Compiling ArgumentParser CommandParser.swift
[38/53] Compiling ArgumentParser InputKey.swift
[39/53] Compiling ArgumentParser Platform.swift
[40/53] Compiling ArgumentParser SequenceExtensions.swift
[41/53] Compiling ArgumentParser StringExtensions.swift
[42/53] Compiling ArgumentParser Tree.swift
[43/53] Compiling ArgumentParser ParserError.swift
[44/53] Compiling ArgumentParser SplitArguments.swift
[45/53] Compiling ArgumentParser DumpHelpGenerator.swift
[46/53] Compiling ArgumentParser HelpCommand.swift
[47/53] Compiling ArgumentParser HelpGenerator.swift
[48/53] Compiling ArgumentParser MessageInfo.swift
[49/53] Compiling ArgumentParser UsageGenerator.swift
[50/53] Compiling ArgumentParser CollectionExtensions.swift
[51/81] 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)
[52/84] Compiling generate_webgpu CallbackFunctionType.swift
[53/84] Compiling generate_webgpu CallbackInfoType.swift
[54/84] Compiling generate_webgpu EnumType.swift
[55/84] Compiling generate_webgpu GenerateStructs.swift
[56/84] Compiling generate_webgpu GenerateWebGPU.swift
[57/84] Compiling generate_webgpu BitmaskType.swift
[58/84] Compiling generate_webgpu StringUtils.swift
[59/84] Compiling generate_webgpu StructureType.swift
[60/84] Compiling generate_webgpu Type.swift
[61/84] 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)
[62/84] 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)
[63/84] 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)
[64/84] Compiling generate_webgpu NativeType.swift
[65/84] Compiling generate_webgpu ObjectType.swift
[66/84] Compiling generate_webgpu Record.swift
[67/84] Compiling generate_webgpu FunctionPointerType.swift
[68/84] Compiling generate_webgpu FunctionType.swift
[69/84] Compiling generate_webgpu Model.swift
[70/84] Compiling generate_webgpu GenerateClasses.swift
[71/84] Compiling generate_webgpu GenerateEnums.swift
[72/84] Compiling generate_webgpu GenerateFunction.swift
[73/84] Compiling generate_webgpu GenerateFunctionTypes.swift
[74/84] Compiling generate_webgpu GenerateFunctions.swift
[75/84] Compiling generate_webgpu GenerateOptionSets.swift
[76/84] Compiling generate_webgpu DawnData.swift
[77/84] Compiling generate_webgpu DefaultFallback.swift
[78/84] Compiling generate_webgpu HasDefaultValue.swift
[79/84] Compiling generate_webgpu Conversion.swift
[80/84] Compiling generate_webgpu GenerateCallbackInfo.swift
[81/84] Compiling generate_webgpu GenerateCallbacks.swift
[81/84] Write Objects.LinkFileList
[82/84] Linking generate-webgpu-tool
[83/84] Applying generate-webgpu-tool
[1/1] Compiling plugin GenerateWebGPUPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/50] Write sources
[2/50] Write generate-webgpu-tool-entitlement.plist
[2/50] Write sources
[2/50] Write generate-webgpu-entitlement.plist
[2/50] Write sources
[6/50] Write DemoTriangle-entitlement.plist
[14/50] Write DemoInfo-entitlement.plist
[14/50] Write DemoCube-entitlement.plist
[16/50] Write sources
[18/50] Write DemoClearColor-entitlement.plist
[18/50] Write DemoBoids-entitlement.plist
[20/50] Write sources
[23/50] Write swift-version-1EA4D86E10B52AF.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.
[24/50] Compiling CDawnNative dawn_native.cpp
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftGFX/SwiftMath
[1/972] Fetching swiftmath
Fetched https://github.com/SwiftGFX/SwiftMath from cache (0.79s)
[1/15419] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.55s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (2.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.44s)
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.5.1
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