The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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/builder/builds/o86TiJKT/2/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.8
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/builder/builds/o86TiJKT/2/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
Fetching https://github.com/SwiftGFX/SwiftMath from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/SwiftGFX/SwiftMath (0.45s)
Fetched https://github.com/apple/swift-argument-parser (0.77s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.49s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/SwiftGFX/SwiftMath
Working copy of https://github.com/SwiftGFX/SwiftMath resolved at 3.3.1
warning: you may be able to install glfw3 using your system-packager:
    brew install glfw
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/builder/builds/o86TiJKT/2/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: you may be able to install glfw3 using your system-packager:
    brew install glfw
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5