The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-webgpu with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/henrybetts/swift-webgpu.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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 ae4e020 fix demos
Cloned https://github.com/henrybetts/swift-webgpu.git
Revision (git rev-parse @):
ae4e0203338242b7777c50361fd46a08250a521b
SUCCESS checkout https://github.com/henrybetts/swift-webgpu.git at main
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/SwiftGFX/SwiftMath from cache
Fetched https://github.com/SwiftGFX/SwiftMath (0.19s)
Fetched https://github.com/apple/swift-argument-parser (0.47s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.01s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.02s)
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.2.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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.2.3",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/henrybetts/swift-webgpu.git
[1/1437] Fetching swift-webgpu
Fetched https://github.com/henrybetts/swift-webgpu.git (0.29s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser (0.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.02s)
Creating working copy for https://github.com/henrybetts/swift-webgpu.git
Working copy of https://github.com/henrybetts/swift-webgpu.git resolved at main
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/3] Compiling ArgumentParserToolInfo ToolInfo.swift
[2/3] Emitting module ArgumentParserToolInfo
[3/40] Emitting module ArgumentParser
[4/40] Compiling ArgumentParser BashCompletionsGenerator.swift
[5/40] Compiling ArgumentParser CompletionsGenerator.swift
[6/40] Compiling ArgumentParser FishCompletionsGenerator.swift
[7/40] Compiling ArgumentParser ZshCompletionsGenerator.swift
[8/40] Compiling ArgumentParser Argument.swift
[9/40] Compiling ArgumentParser ArgumentHelp.swift
[10/40] Compiling ArgumentParser ArgumentVisibility.swift
[11/40] Compiling ArgumentParser CompletionKind.swift
[12/40] Compiling ArgumentParser Errors.swift
[13/40] Compiling ArgumentParser Flag.swift
[14/40] Compiling ArgumentParser NameSpecification.swift
[15/40] Compiling ArgumentParser ArgumentDefinition.swift
[16/40] Compiling ArgumentParser ArgumentSet.swift
[17/40] Compiling ArgumentParser CommandParser.swift
[18/40] Compiling ArgumentParser InputKey.swift
[19/40] Compiling ArgumentParser InputOrigin.swift
[20/40] Compiling ArgumentParser ExpressibleByArgument.swift
[21/40] Compiling ArgumentParser ParsableArguments.swift
[22/40] Compiling ArgumentParser ParsableArgumentsValidation.swift
[23/40] Compiling ArgumentParser ParsableCommand.swift
[24/40] Compiling ArgumentParser ArgumentDecoder.swift
[25/40] Compiling ArgumentParser Name.swift
[26/40] Compiling ArgumentParser Parsed.swift
[27/40] Compiling ArgumentParser ParsedValues.swift
[28/40] Compiling ArgumentParser ParserError.swift
[29/40] Compiling ArgumentParser SplitArguments.swift
[30/40] Compiling ArgumentParser DumpHelpGenerator.swift
[31/40] Compiling ArgumentParser HelpCommand.swift
[32/40] Compiling ArgumentParser HelpGenerator.swift
[33/40] Compiling ArgumentParser MessageInfo.swift
[34/40] Compiling ArgumentParser UsageGenerator.swift
[35/40] Compiling ArgumentParser Option.swift
[36/40] Compiling ArgumentParser OptionGroup.swift
[37/40] Compiling ArgumentParser AsyncParsableCommand.swift
[38/40] Compiling ArgumentParser CommandConfiguration.swift
[39/40] Compiling ArgumentParser EnumerableFlag.swift
[40/45] Compiling ArgumentParser CollectionExtensions.swift
[41/45] Compiling ArgumentParser Platform.swift
[42/45] Compiling ArgumentParser SequenceExtensions.swift
[43/45] Compiling ArgumentParser StringExtensions.swift
[44/45] Compiling ArgumentParser Tree.swift
[45/70] Compiling generate_webgpu GenerateWebGPU.swift
[46/70] Compiling generate_webgpu BitmaskType.swift
[47/70] Compiling generate_webgpu EnumType.swift
[48/73] Compiling generate_webgpu NativeType.swift
[49/73] Compiling generate_webgpu ObjectType.swift
[50/73] Compiling generate_webgpu Record.swift
[51/73] Compiling generate_webgpu StringUtils.swift
[52/73] Compiling generate_webgpu StructureType.swift
[53/73] Compiling generate_webgpu Type.swift
[54/73] Emitting module generate_webgpu
[55/73] Compiling generate_webgpu Taggable.swift
[56/73] Compiling generate_webgpu CodeBuilder.swift
[57/73] Compiling generate_webgpu Conversion.swift
[58/73] Compiling generate_webgpu GenerateCallbacks.swift
[59/73] Compiling generate_webgpu DawnData.swift
[60/73] Compiling generate_webgpu DefaultFallback.swift
[61/73] Compiling generate_webgpu HasDefaultValue.swift
[62/73] Compiling generate_webgpu String+CodingKey.swift
[63/73] Compiling generate_webgpu GenerateFunctions.swift
[64/73] Compiling generate_webgpu GenerateOptionSets.swift
[65/73] Compiling generate_webgpu GenerateStructs.swift
[66/73] Compiling generate_webgpu GenerateClasses.swift
[67/73] Compiling generate_webgpu GenerateEnums.swift
[68/73] Compiling generate_webgpu GenerateFunction.swift
[69/73] Compiling generate_webgpu GenerateFunctionTypes.swift
[70/73] Compiling generate_webgpu FunctionPointerType.swift
[71/73] Compiling generate_webgpu FunctionType.swift
[72/73] Compiling generate_webgpu Model.swift
[72/73] Linking generate-webgpu
Build complete! (6.98s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
In file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/include/dawn_native.h:1:10: fatal error: 'dawn/webgpu.h' file not found
#include <dawn/webgpu.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[2/10] Compiling CDawnNative dawn_native.cpp
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: you may be able to install glfw3 using your system-packager:
    brew install glfw
Building for debugging...
Build complete! (0.12s)
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
In file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/include/dawn_native.h:1:10: fatal error: 'dawn/webgpu.h' file not found
#include <dawn/webgpu.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[2/10] Compiling CDawnNative dawn_native.cpp
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: you may be able to install glfw3 using your system-packager:
    brew install glfw
BUILD FAILURE 5.9 macosSpm