Build Information
Failed to build swift-webgpu, reference main (a7aca6
), with Swift 6.0 for macOS (SPM) on 28 Jun 2025 17:58:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.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.0
Building package at path: $PWD
https://github.com/henrybetts/swift-webgpu.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[2/8] Write generate-webgpu-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/10] Emitting module ArgumentParserToolInfo
[7/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[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] Emitting module ArgumentParser
[13/53] Compiling ArgumentParser NameSpecification.swift
[14/53] Compiling ArgumentParser Option.swift
[15/53] Compiling ArgumentParser OptionGroup.swift
[16/53] Compiling ArgumentParser AsyncParsableCommand.swift
[17/53] Compiling ArgumentParser ArgumentHelp.swift
[18/53] Compiling ArgumentParser ArgumentVisibility.swift
[19/53] Compiling ArgumentParser CompletionKind.swift
[20/53] Compiling ArgumentParser Errors.swift
[21/53] Compiling ArgumentParser Flag.swift
[22/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/53] Compiling ArgumentParser CompletionsGenerator.swift
[24/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/53] Compiling ArgumentParser Argument.swift
[27/53] Compiling ArgumentParser ArgumentDefinition.swift
[28/53] Compiling ArgumentParser ArgumentSet.swift
[29/53] Compiling ArgumentParser CommandParser.swift
[30/53] Compiling ArgumentParser InputKey.swift
[31/53] Compiling ArgumentParser InputOrigin.swift
[32/53] Compiling ArgumentParser Name.swift
[33/53] Compiling ArgumentParser Parsed.swift
[34/53] Compiling ArgumentParser ParsedValues.swift
[35/53] Compiling ArgumentParser Platform.swift
[36/53] Compiling ArgumentParser SequenceExtensions.swift
[37/53] Compiling ArgumentParser StringExtensions.swift
[38/53] Compiling ArgumentParser Tree.swift
[39/53] Compiling ArgumentParser ParserError.swift
[40/53] Compiling ArgumentParser SplitArguments.swift
[41/53] Compiling ArgumentParser DumpHelpGenerator.swift
[42/53] Compiling ArgumentParser HelpCommand.swift
[43/53] Compiling ArgumentParser ParsableArguments.swift
[44/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/53] Compiling ArgumentParser ParsableCommand.swift
[46/53] Compiling ArgumentParser ArgumentDecoder.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 Conversion.swift
[56/84] Compiling generate_webgpu GenerateCallbackInfo.swift
[57/84] Compiling generate_webgpu GenerateCallbacks.swift
[58/84] Compiling generate_webgpu FunctionPointerType.swift
[59/84] Compiling generate_webgpu FunctionType.swift
[60/84] Compiling generate_webgpu Model.swift
[61/84] Compiling generate_webgpu GenerateFunctionTypes.swift
[62/84] Compiling generate_webgpu GenerateFunctions.swift
[63/84] Compiling generate_webgpu GenerateOptionSets.swift
[64/84] Compiling generate_webgpu StringUtils.swift
[65/84] Compiling generate_webgpu StructureType.swift
[66/84] Compiling generate_webgpu Type.swift
[67/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)
[68/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)
[69/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)
[70/84] Compiling generate_webgpu NativeType.swift
[71/84] Compiling generate_webgpu ObjectType.swift
[72/84] Compiling generate_webgpu Record.swift
[73/84] Compiling generate_webgpu GenerateStructs.swift
[74/84] Compiling generate_webgpu GenerateWebGPU.swift
[75/84] Compiling generate_webgpu BitmaskType.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 GenerateClasses.swift
[80/84] Compiling generate_webgpu GenerateEnums.swift
[81/84] Compiling generate_webgpu GenerateFunction.swift
[81/84] Write Objects.LinkFileList
[82/84] Linking generate-webgpu-tool
[83/84] Applying generate-webgpu-tool
Build of product 'generate-webgpu' complete! (8.34s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
[2/43] Write sources
[5/43] Write generate-webgpu-entitlement.plist
[5/43] Write sources
[5/43] Write DemoTriangle-entitlement.plist
[5/43] Compiling CDawnNative dawn_native.cpp
[5/43] Write swift-version-5BDAB9E9C0126B9D.txt
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftGFX/SwiftMath
[1/972] Fetching swiftmath
[973/16391] Fetching swiftmath, swift-argument-parser
Fetched https://github.com/SwiftGFX/SwiftMath from cache (1.52s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.50s)
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: you may be able to install glfw3 using your system-packager:
brew install glfw
warning: couldn't find pc file for webgpu
warning: couldn't find pc file for webgpu
warning: you may be able to install glfw3 using your system-packager:
brew install glfw
error: couldn't build /Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/WebGPU/destination/GenerateWebGPUPlugin/Generated/Enums.swift because of missing inputs: /usr/local/share/dawn/dawn.json
BUILD FAILURE 6.0 macosSpm