The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-webgpu with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/SwiftGFX/SwiftMath
Fetching https://github.com/apple/swift-argument-parser
[1/972] Fetching swiftmath
Fetched https://github.com/SwiftGFX/SwiftMath (0.28s)
[1/11223] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.75s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.32s)
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: couldn't find pc file for glfw3
Compiling plugin GenerateManual...
Compiling plugin GenerateWebGPUPlugin...
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/host/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/20] Compiling CDawnNative dawn_native.cpp
warning: couldn't find pc file for glfw3
[0/1] Planning build
Compiling plugin GenerateManual...
Compiling plugin GenerateWebGPUPlugin...
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/host/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/20] Compiling CDawnNative dawn_native.cpp
BUILD FAILURE 5.7 linux

Build Machine: Linux 1