Build Information
Failed to build swift-webgpu, reference main (77d86c
), with Swift 5.9 for macOS (SPM) on 17 Feb 2025 01:45:57 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/henrybetts/swift-webgpu.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/3] Compiling ArgumentParserToolInfo ToolInfo.swift
[2/3] Emitting module ArgumentParserToolInfo
[3/42] Emitting module ArgumentParser
[4/46] Compiling ArgumentParser NameSpecification.swift
[5/46] Compiling ArgumentParser Option.swift
[6/46] Compiling ArgumentParser OptionGroup.swift
[7/46] Compiling ArgumentParser AsyncParsableCommand.swift
[8/46] Compiling ArgumentParser ArgumentHelp.swift
[9/46] Compiling ArgumentParser ArgumentVisibility.swift
[10/46] Compiling ArgumentParser CompletionKind.swift
[11/46] Compiling ArgumentParser Errors.swift
[12/46] Compiling ArgumentParser Flag.swift
[13/46] Compiling ArgumentParser BashCompletionsGenerator.swift
[14/46] Compiling ArgumentParser CompletionsGenerator.swift
[15/46] Compiling ArgumentParser FishCompletionsGenerator.swift
[16/46] Compiling ArgumentParser ZshCompletionsGenerator.swift
[17/46] Compiling ArgumentParser Argument.swift
[18/46] Compiling ArgumentParser ArgumentDefinition.swift
[19/46] Compiling ArgumentParser ArgumentSet.swift
[20/46] Compiling ArgumentParser CommandParser.swift
[21/46] Compiling ArgumentParser InputKey.swift
[22/46] Compiling ArgumentParser ParsableArguments.swift
[23/46] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/46] Compiling ArgumentParser ParsableCommand.swift
[25/46] Compiling ArgumentParser ArgumentDecoder.swift
[26/46] Compiling ArgumentParser Platform.swift
[27/46] Compiling ArgumentParser SequenceExtensions.swift
[28/46] Compiling ArgumentParser StringExtensions.swift
[29/46] Compiling ArgumentParser Tree.swift
[30/46] Compiling ArgumentParser ParserError.swift
[31/46] Compiling ArgumentParser SplitArguments.swift
[32/46] Compiling ArgumentParser DumpHelpGenerator.swift
[33/46] Compiling ArgumentParser HelpCommand.swift
[34/46] Compiling ArgumentParser InputOrigin.swift
[35/46] Compiling ArgumentParser Name.swift
[36/46] Compiling ArgumentParser Parsed.swift
[37/46] Compiling ArgumentParser ParsedValues.swift
[38/46] Compiling ArgumentParser CommandConfiguration.swift
[39/46] Compiling ArgumentParser CommandGroup.swift
[40/46] Compiling ArgumentParser EnumerableFlag.swift
[41/46] Compiling ArgumentParser ExpressibleByArgument.swift
[42/46] Compiling ArgumentParser HelpGenerator.swift
[43/46] Compiling ArgumentParser MessageInfo.swift
[44/46] Compiling ArgumentParser UsageGenerator.swift
[45/46] Compiling ArgumentParser CollectionExtensions.swift
[46/74] Compiling generate_webgpu NativeType.swift
[47/74] Compiling generate_webgpu ObjectType.swift
[48/74] Compiling generate_webgpu Record.swift
[49/77] Compiling generate_webgpu String+CodingKey.swift
[50/77] Compiling generate_webgpu Taggable.swift
[51/77] Compiling generate_webgpu CodeBuilder.swift
[52/77] Compiling generate_webgpu GenerateStructs.swift
[53/77] Compiling generate_webgpu GenerateWebGPU.swift
[54/77] Compiling generate_webgpu BitmaskType.swift
[55/77] Emitting module generate_webgpu
[56/77] Compiling generate_webgpu CallbackFunctionType.swift
[57/77] Compiling generate_webgpu CallbackInfoType.swift
[58/77] Compiling generate_webgpu EnumType.swift
[59/77] Compiling generate_webgpu StringUtils.swift
[60/77] Compiling generate_webgpu StructureType.swift
[61/77] Compiling generate_webgpu Type.swift
[62/77] Compiling generate_webgpu GenerateFunctionTypes.swift
[63/77] Compiling generate_webgpu GenerateFunctions.swift
[64/77] Compiling generate_webgpu GenerateOptionSets.swift
[65/77] Compiling generate_webgpu Conversion.swift
[66/77] Compiling generate_webgpu GenerateCallbackInfo.swift
[67/77] Compiling generate_webgpu GenerateCallbacks.swift
[68/77] Compiling generate_webgpu DawnData.swift
[69/77] Compiling generate_webgpu DefaultFallback.swift
[70/77] Compiling generate_webgpu HasDefaultValue.swift
[71/77] Compiling generate_webgpu GenerateClasses.swift
[72/77] Compiling generate_webgpu GenerateEnums.swift
[73/77] Compiling generate_webgpu GenerateFunction.swift
[74/77] Compiling generate_webgpu FunctionPointerType.swift
[75/77] Compiling generate_webgpu FunctionType.swift
[76/77] Compiling generate_webgpu Model.swift
[76/77] Linking generate-webgpu
Build complete! (6.34s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
Fetching https://github.com/SwiftGFX/SwiftMath
Fetching https://github.com/apple/swift-argument-parser
[1/972] Fetching swiftmath
[973/15232] Fetching swiftmath, swift-argument-parser
Fetched https://github.com/SwiftGFX/SwiftMath (2.08s)
Fetched https://github.com/apple/swift-argument-parser (2.08s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.38s)
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.0
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: you may be able to install glfw3 using your system-packager:
brew install glfw
warning: couldn't find pc file for webgpu
error: couldn't build /Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/WebGPU/GenerateWebGPUPlugin/Generated/Enums.swift because of missing inputs: /usr/local/share/dawn/dawn.json
BUILD FAILURE 5.9 macosSpm