Build Information
Failed to build swift-webgpu, reference main (77d86c
), with Swift 6.0 for macOS (SPM) on 17 Feb 2025 01:45:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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 77d86c5 add patch for binding layout structs, which need to be zero-initialised
Cloned https://github.com/henrybetts/swift-webgpu.git
Revision (git rev-parse @):
77d86c5aa3bba677d0eaa0127d28f62804354a2f
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
Fetched https://github.com/SwiftGFX/SwiftMath from cache (0.80s)
[1/14260] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.48s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.45s)
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.0
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.5.0",
"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/1859] Fetching swift-webgpu
Fetched https://github.com/henrybetts/swift-webgpu.git from cache (0.88s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.03s)
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.0
Creating working copy for https://github.com/henrybetts/swift-webgpu.git
Working copy of https://github.com/henrybetts/swift-webgpu.git resolved at main (77d86c5)
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/henrybetts/swift-webgpu.git
https://github.com/henrybetts/swift-webgpu.git
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftmath",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftGFX/SwiftMath"
}
],
"manifest_display_name" : "swift-webgpu",
"name" : "swift-webgpu",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "WebGPU",
"targets" : [
"WebGPU"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DawnNative",
"targets" : [
"DawnNative",
"WebGPU"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "generate-webgpu",
"targets" : [
"generate-webgpu"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoTriangle",
"targets" : [
"DemoTriangle"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoInfo",
"targets" : [
"DemoInfo"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoCube",
"targets" : [
"DemoCube"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoClearColor",
"targets" : [
"DemoClearColor"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoBoids",
"targets" : [
"DemoBoids"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "generate_webgpu",
"module_type" : "SwiftTarget",
"name" : "generate-webgpu",
"path" : "Sources/generate-webgpu",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"WebGPU",
"DawnNative",
"generate-webgpu",
"DemoTriangle",
"DemoInfo",
"DemoCube",
"DemoClearColor",
"DemoBoids"
],
"sources" : [
"Decoding/DawnData.swift",
"Decoding/DefaultFallback.swift",
"Decoding/HasDefaultValue.swift",
"Decoding/String+CodingKey.swift",
"Decoding/Taggable.swift",
"Generate/CodeBuilder.swift",
"Generate/Conversion.swift",
"Generate/GenerateCallbackInfo.swift",
"Generate/GenerateCallbacks.swift",
"Generate/GenerateClasses.swift",
"Generate/GenerateEnums.swift",
"Generate/GenerateFunction.swift",
"Generate/GenerateFunctionTypes.swift",
"Generate/GenerateFunctions.swift",
"Generate/GenerateOptionSets.swift",
"Generate/GenerateStructs.swift",
"GenerateWebGPU.swift",
"Model/BitmaskType.swift",
"Model/CallbackFunctionType.swift",
"Model/CallbackInfoType.swift",
"Model/EnumType.swift",
"Model/FunctionPointerType.swift",
"Model/FunctionType.swift",
"Model/Model.swift",
"Model/NativeType.swift",
"Model/ObjectType.swift",
"Model/Record.swift",
"Model/StringUtils.swift",
"Model/StructureType.swift",
"Model/Type.swift"
],
"type" : "executable"
},
{
"c99name" : "WindowUtils",
"module_type" : "SwiftTarget",
"name" : "WindowUtils",
"path" : "Demos/WindowUtils",
"product_memberships" : [
"DemoTriangle",
"DemoCube",
"DemoClearColor",
"DemoBoids"
],
"sources" : [
"WindowUtils.swift"
],
"target_dependencies" : [
"WebGPU",
"CGLFW"
],
"type" : "library"
},
{
"c99name" : "WebGPU",
"module_type" : "SwiftTarget",
"name" : "WebGPU",
"path" : "Sources/WebGPU",
"product_memberships" : [
"WebGPU",
"DawnNative",
"DemoTriangle",
"DemoInfo",
"DemoCube",
"DemoClearColor",
"DemoBoids"
],
"sources" : [
"Array+Helpers.swift",
"Bool+Convertible.swift",
"Convertible.swift",
"Extensible.swift",
"Extensions.swift",
"Optional+Helpers.swift",
"RequestError.swift",
"String+Convertible.swift",
"UserData.swift"
],
"target_dependencies" : [
"CWebGPU",
"GenerateWebGPUPlugin"
],
"type" : "library"
},
{
"c99name" : "GenerateWebGPUPlugin",
"module_type" : "PluginTarget",
"name" : "GenerateWebGPUPlugin",
"path" : "Plugins/GenerateWebGPUPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"WebGPU",
"DawnNative",
"DemoTriangle",
"DemoInfo",
"DemoCube",
"DemoClearColor",
"DemoBoids"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"generate-webgpu"
],
"type" : "plugin"
},
{
"c99name" : "DemoTriangle",
"module_type" : "SwiftTarget",
"name" : "DemoTriangle",
"path" : "Demos/DemoTriangle",
"product_memberships" : [
"DemoTriangle"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"WindowUtils"
],
"type" : "executable"
},
{
"c99name" : "DemoInfo",
"module_type" : "SwiftTarget",
"name" : "DemoInfo",
"path" : "Demos/DemoInfo",
"product_memberships" : [
"DemoInfo"
],
"sources" : [
"formatting.swift",
"main.swift"
],
"target_dependencies" : [
"DawnNative"
],
"type" : "executable"
},
{
"c99name" : "DemoCube",
"module_type" : "SwiftTarget",
"name" : "DemoCube",
"path" : "Demos/DemoCube",
"product_dependencies" : [
"SwiftMath"
],
"product_memberships" : [
"DemoCube"
],
"sources" : [
"geometry.swift",
"main.swift"
],
"target_dependencies" : [
"WindowUtils"
],
"type" : "executable"
},
{
"c99name" : "DemoClearColor",
"module_type" : "SwiftTarget",
"name" : "DemoClearColor",
"path" : "Demos/DemoClearColor",
"product_memberships" : [
"DemoClearColor"
],
"sources" : [
"color.swift",
"main.swift"
],
"target_dependencies" : [
"WindowUtils"
],
"type" : "executable"
},
{
"c99name" : "DemoBoids",
"module_type" : "SwiftTarget",
"name" : "DemoBoids",
"path" : "Demos/DemoBoids",
"product_memberships" : [
"DemoBoids"
],
"sources" : [
"main.swift",
"shaders.swift"
],
"target_dependencies" : [
"WindowUtils"
],
"type" : "executable"
},
{
"c99name" : "DawnNative",
"module_type" : "SwiftTarget",
"name" : "DawnNative",
"path" : "Sources/DawnNative",
"product_memberships" : [
"DawnNative",
"DemoInfo"
],
"sources" : [
"DawnNative.swift"
],
"target_dependencies" : [
"WebGPU",
"CDawnNative"
],
"type" : "library"
},
{
"c99name" : "CWebGPU",
"module_type" : "SystemLibraryTarget",
"name" : "CWebGPU",
"path" : "Sources/CWebGPU",
"product_memberships" : [
"WebGPU",
"DawnNative",
"DemoTriangle",
"DemoInfo",
"DemoCube",
"DemoClearColor",
"DemoBoids"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "CGLFW",
"module_type" : "SystemLibraryTarget",
"name" : "CGLFW",
"path" : "Demos/CGLFW",
"product_memberships" : [
"DemoTriangle",
"DemoCube",
"DemoClearColor",
"DemoBoids"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "CDawnNative",
"module_type" : "ClangTarget",
"name" : "CDawnNative",
"path" : "Sources/CDawnNative",
"product_memberships" : [
"DawnNative",
"DemoInfo"
],
"sources" : [
"dawn_native.cpp"
],
"target_dependencies" : [
"CWebGPU"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[3/8] Write generate-webgpu-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/10] Emitting module ArgumentParserToolInfo
[8/49] Compiling ArgumentParser InputOrigin.swift
[9/49] Compiling ArgumentParser Name.swift
[10/49] Compiling ArgumentParser Parsed.swift
[11/49] Compiling ArgumentParser ParsedValues.swift
[12/53] Compiling ArgumentParser ArgumentHelp.swift
[13/53] Compiling ArgumentParser ArgumentVisibility.swift
[14/53] Compiling ArgumentParser CompletionKind.swift
[15/53] Compiling ArgumentParser Errors.swift
[16/53] Compiling ArgumentParser Flag.swift
[17/53] Compiling ArgumentParser NameSpecification.swift
[18/53] Compiling ArgumentParser Option.swift
[19/53] Compiling ArgumentParser OptionGroup.swift
[20/53] Compiling ArgumentParser AsyncParsableCommand.swift
[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] Emitting module ArgumentParser
[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 Platform.swift
[32/53] Compiling ArgumentParser SequenceExtensions.swift
[33/53] Compiling ArgumentParser StringExtensions.swift
[34/53] Compiling ArgumentParser Tree.swift
[35/53] Compiling ArgumentParser CommandConfiguration.swift
[36/53] Compiling ArgumentParser CommandGroup.swift
[37/53] Compiling ArgumentParser EnumerableFlag.swift
[38/53] Compiling ArgumentParser ExpressibleByArgument.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] 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)
[52/81] 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)
[53/81] 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)
[54/84] Compiling generate_webgpu GenerateFunctionTypes.swift
[55/84] Compiling generate_webgpu GenerateFunctions.swift
[56/84] Compiling generate_webgpu GenerateOptionSets.swift
[57/84] Compiling generate_webgpu StringUtils.swift
[58/84] Compiling generate_webgpu StructureType.swift
[59/84] Compiling generate_webgpu Type.swift
[60/84] Compiling generate_webgpu GenerateStructs.swift
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/GenerateWebGPU.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | @main
5 | struct GenerateWebGPU: ParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "generate-webgpu")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(help: "Path to dawn.json", transform: URL.init(fileURLWithPath:))
[61/84] Compiling generate_webgpu GenerateWebGPU.swift
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/GenerateWebGPU.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | @main
5 | struct GenerateWebGPU: ParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "generate-webgpu")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(help: "Path to dawn.json", transform: URL.init(fileURLWithPath:))
[62/84] Compiling generate_webgpu BitmaskType.swift
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/GenerateWebGPU.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | @main
5 | struct GenerateWebGPU: ParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "generate-webgpu")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(help: "Path to dawn.json", transform: URL.init(fileURLWithPath:))
[63/84] Compiling generate_webgpu GenerateClasses.swift
[64/84] Compiling generate_webgpu GenerateEnums.swift
[65/84] Compiling generate_webgpu GenerateFunction.swift
[66/84] Compiling generate_webgpu FunctionPointerType.swift
[67/84] Compiling generate_webgpu FunctionType.swift
[68/84] Compiling generate_webgpu Model.swift
[69/84] Compiling generate_webgpu NativeType.swift
[70/84] Compiling generate_webgpu ObjectType.swift
[71/84] Compiling generate_webgpu Record.swift
[72/84] Compiling generate_webgpu CallbackFunctionType.swift
[73/84] Compiling generate_webgpu CallbackInfoType.swift
[74/84] Compiling generate_webgpu EnumType.swift
[75/84] Compiling generate_webgpu Conversion.swift
[76/84] Compiling generate_webgpu GenerateCallbackInfo.swift
[77/84] Compiling generate_webgpu GenerateCallbacks.swift
[78/84] 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)
/Users/admin/builder/spi-builder-workspace/Sources/generate-webgpu/GenerateWebGPU.swift:6:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | @main
5 | struct GenerateWebGPU: ParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "generate-webgpu")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(help: "Path to dawn.json", transform: URL.init(fileURLWithPath:))
[79/84] Compiling generate_webgpu DawnData.swift
[80/84] Compiling generate_webgpu DefaultFallback.swift
[81/84] Compiling generate_webgpu HasDefaultValue.swift
[81/84] Write Objects.LinkFileList
[82/84] Linking generate-webgpu-tool
[83/84] Applying generate-webgpu-tool
Build of product 'generate-webgpu' complete! (12.40s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
[2/43] Write sources
[2/43] Write generate-webgpu-entitlement.plist
[2/43] Write sources
[2/43] Write swift-version-5BDAB9E9C0126B9D.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
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write swift-version-5BDAB9E9C0126B9D.txt
[2/6] Emitting module ArgumentParserToolInfo
[3/6] Compiling ArgumentParserToolInfo ToolInfo.swift
[4/45] Compiling ArgumentParser CommandConfiguration.swift
[5/45] Compiling ArgumentParser CommandGroup.swift
[6/45] Compiling ArgumentParser EnumerableFlag.swift
[7/45] Compiling ArgumentParser ExpressibleByArgument.swift
[8/49] Compiling ArgumentParser NameSpecification.swift
[9/49] Compiling ArgumentParser Option.swift
[10/49] Compiling ArgumentParser OptionGroup.swift
[11/49] Compiling ArgumentParser AsyncParsableCommand.swift
[12/49] Compiling ArgumentParser ArgumentHelp.swift
[13/49] Compiling ArgumentParser ArgumentVisibility.swift
[14/49] Compiling ArgumentParser CompletionKind.swift
[15/49] Compiling ArgumentParser Errors.swift
[16/49] Compiling ArgumentParser Flag.swift
[17/49] Compiling ArgumentParser ParserError.swift
[18/49] Compiling ArgumentParser SplitArguments.swift
[19/49] Compiling ArgumentParser DumpHelpGenerator.swift
[20/49] Compiling ArgumentParser HelpCommand.swift
[21/49] Emitting module ArgumentParser
[22/49] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/49] Compiling ArgumentParser CompletionsGenerator.swift
[24/49] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/49] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/49] Compiling ArgumentParser Argument.swift
[27/49] Compiling ArgumentParser ParsableArguments.swift
[28/49] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/49] Compiling ArgumentParser ParsableCommand.swift
[30/49] Compiling ArgumentParser ArgumentDecoder.swift
[31/49] Compiling ArgumentParser InputOrigin.swift
[32/49] Compiling ArgumentParser Name.swift
[33/49] Compiling ArgumentParser Parsed.swift
[34/49] Compiling ArgumentParser ParsedValues.swift
[35/49] Compiling ArgumentParser Platform.swift
[36/49] Compiling ArgumentParser SequenceExtensions.swift
[37/49] Compiling ArgumentParser StringExtensions.swift
[38/49] Compiling ArgumentParser Tree.swift
[39/49] Compiling ArgumentParser HelpGenerator.swift
[40/49] Compiling ArgumentParser MessageInfo.swift
[41/49] Compiling ArgumentParser UsageGenerator.swift
[42/49] Compiling ArgumentParser CollectionExtensions.swift
[43/49] Compiling ArgumentParser ArgumentDefinition.swift
[44/49] Compiling ArgumentParser ArgumentSet.swift
[45/49] Compiling ArgumentParser CommandParser.swift
[46/49] Compiling ArgumentParser InputKey.swift
[47/77] 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)
[48/80] Compiling generate_webgpu GenerateClasses.swift
[49/80] Compiling generate_webgpu GenerateEnums.swift
[50/80] Compiling generate_webgpu GenerateFunction.swift
[51/80] Compiling generate_webgpu Conversion.swift
[52/80] Compiling generate_webgpu GenerateCallbackInfo.swift
[53/80] Compiling generate_webgpu GenerateCallbacks.swift
[54/80] Compiling generate_webgpu FunctionPointerType.swift
[55/80] Compiling generate_webgpu FunctionType.swift
[56/80] Compiling generate_webgpu Model.swift
[57/80] Compiling generate_webgpu GenerateStructs.swift
[58/80] Compiling generate_webgpu GenerateWebGPU.swift
[59/80] Compiling generate_webgpu BitmaskType.swift
[60/80] Compiling generate_webgpu CallbackFunctionType.swift
[61/80] Compiling generate_webgpu CallbackInfoType.swift
[62/80] Compiling generate_webgpu EnumType.swift
[63/80] Compiling generate_webgpu NativeType.swift
[64/80] Compiling generate_webgpu ObjectType.swift
[65/80] Compiling generate_webgpu Record.swift
[66/80] Compiling generate_webgpu GenerateFunctionTypes.swift
[67/80] Compiling generate_webgpu GenerateFunctions.swift
[68/80] Compiling generate_webgpu GenerateOptionSets.swift
[69/80] 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)
[70/80] 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)
[71/80] 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)
[72/80] Compiling generate_webgpu DawnData.swift
[73/80] Compiling generate_webgpu DefaultFallback.swift
[74/80] Compiling generate_webgpu HasDefaultValue.swift
[75/80] Compiling generate_webgpu StringUtils.swift
[76/80] Compiling generate_webgpu StructureType.swift
[77/80] Compiling generate_webgpu Type.swift
[77/79] Linking generate-webgpu-tool
[78/79] Applying generate-webgpu-tool
Build of product 'generate-webgpu' complete! (3.28s)
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
[2/43] Write sources
[3/43] Write generate-webgpu-entitlement.plist
[3/43] Write DemoInfo-entitlement.plist
[3/43] Write sources
[10/43] Write DemoTriangle-entitlement.plist
[14/43] Write DemoCube-entitlement.plist
[14/43] Write DemoBoids-entitlement.plist
[15/43] Write sources
[16/43] Write DemoClearColor-entitlement.plist
[17/43] Write sources
[17/43] Compiling CDawnNative dawn_native.cpp
[17/43] Write swift-version-5BDAB9E9C0126B9D.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
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