The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/henrybetts/swift-webgpu.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/Z6YBxSjp/0/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun swift build --arch arm64
Compiling plugin GenerateManual...
Compiling plugin GenerateWebGPUPlugin...
Building for debugging...
In file included from /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/admin/builds/Z6YBxSjp/0/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.
[0/8] Compiling CDawnNative dawn_native.cpp
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/SwiftGFX/SwiftMath
[1/972] Fetching swiftmath
Fetched https://github.com/SwiftGFX/SwiftMath (0.36s)
Fetched https://github.com/apple/swift-argument-parser (0.76s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.52s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.07s)
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
warning: you may be able to install glfw3 using your system-packager:
    brew install glfw
[0/1] Planning build
Compiling plugin GenerateManual...
Compiling plugin GenerateWebGPUPlugin...
Building for debugging...
In file included from /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/admin/builds/Z6YBxSjp/0/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.
[0/8] Compiling CDawnNative dawn_native.cpp
warning: you may be able to install glfw3 using your system-packager:
    brew install glfw
BUILD FAILURE 5.7 macosSpm