The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
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.10
Building package at path:  $workDir
https://github.com/henrybetts/swift-webgpu.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SwiftGFX/SwiftMath
Fetching https://github.com/apple/swift-argument-parser
[1/972] Fetching swiftmath
[973/12407] Fetching swiftmath, swift-argument-parser
Fetched https://github.com/SwiftGFX/SwiftMath from cache (0.69s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.70s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.44s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
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
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/11] Emitting module ArgumentParserToolInfo
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/49] Compiling ArgumentParser Option.swift
[10/49] Compiling ArgumentParser OptionGroup.swift
[11/49] Compiling ArgumentParser AsyncParsableCommand.swift
[12/49] Compiling ArgumentParser CommandConfiguration.swift
[13/49] Compiling ArgumentParser EnumerableFlag.swift
[14/54] Emitting module ArgumentParser
[15/54] Compiling ArgumentParser Name.swift
[16/54] Compiling ArgumentParser Parsed.swift
[17/54] Compiling ArgumentParser ParsedValues.swift
[18/54] Compiling ArgumentParser ParserError.swift
[19/54] Compiling ArgumentParser SplitArguments.swift
[20/54] Compiling ArgumentParser ExpressibleByArgument.swift
[21/54] Compiling ArgumentParser ParsableArguments.swift
[22/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[23/54] Compiling ArgumentParser ParsableCommand.swift
[24/54] Compiling ArgumentParser ArgumentDecoder.swift
[25/54] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/54] Compiling ArgumentParser CompletionsGenerator.swift
[27/54] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/54] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/54] Compiling ArgumentParser Argument.swift
[30/54] Compiling ArgumentParser ArgumentHelp.swift
[31/54] Compiling ArgumentParser ArgumentDefinition.swift
[32/54] Compiling ArgumentParser ArgumentSet.swift
[33/54] Compiling ArgumentParser CommandParser.swift
[34/54] Compiling ArgumentParser InputKey.swift
[35/54] Compiling ArgumentParser InputOrigin.swift
[36/54] Compiling ArgumentParser CollectionExtensions.swift
[37/54] Compiling ArgumentParser Platform.swift
[38/54] Compiling ArgumentParser SequenceExtensions.swift
[39/54] Compiling ArgumentParser StringExtensions.swift
[40/54] Compiling ArgumentParser Tree.swift
[41/54] Compiling ArgumentParser ArgumentVisibility.swift
[42/54] Compiling ArgumentParser CompletionKind.swift
[43/54] Compiling ArgumentParser Errors.swift
[44/54] Compiling ArgumentParser Flag.swift
[45/54] Compiling ArgumentParser NameSpecification.swift
[46/54] Compiling ArgumentParser DumpHelpGenerator.swift
[47/54] Compiling ArgumentParser HelpCommand.swift
[48/54] Compiling ArgumentParser HelpGenerator.swift
[49/54] Compiling ArgumentParser MessageInfo.swift
[50/54] Compiling ArgumentParser UsageGenerator.swift
[51/55] Wrapping AST for ArgumentParser for debugging
[53/80] Compiling generate_webgpu Taggable.swift
[54/80] Compiling generate_webgpu CodeBuilder.swift
[55/80] Compiling generate_webgpu Conversion.swift
[56/80] Compiling generate_webgpu GenerateCallbacks.swift
[57/80] Compiling generate_webgpu GenerateFunctions.swift
[58/80] Compiling generate_webgpu GenerateOptionSets.swift
[59/80] Compiling generate_webgpu GenerateStructs.swift
[60/80] Compiling generate_webgpu FunctionPointerType.swift
[61/80] Compiling generate_webgpu FunctionType.swift
[62/80] Compiling generate_webgpu Model.swift
[63/83] Emitting module generate_webgpu
[64/83] Compiling generate_webgpu GenerateWebGPU.swift
[65/83] Compiling generate_webgpu BitmaskType.swift
[66/83] Compiling generate_webgpu EnumType.swift
[67/83] Compiling generate_webgpu NativeType.swift
[68/83] Compiling generate_webgpu ObjectType.swift
[69/83] Compiling generate_webgpu Record.swift
[70/83] Compiling generate_webgpu StringUtils.swift
[71/83] Compiling generate_webgpu StructureType.swift
[72/83] Compiling generate_webgpu Type.swift
[73/83] Compiling generate_webgpu GenerateClasses.swift
[74/83] Compiling generate_webgpu GenerateEnums.swift
[75/83] Compiling generate_webgpu GenerateFunction.swift
[76/83] Compiling generate_webgpu GenerateFunctionTypes.swift
[77/83] Compiling generate_webgpu DawnData.swift
[78/83] Compiling generate_webgpu DefaultFallback.swift
[79/83] Compiling generate_webgpu HasDefaultValue.swift
[80/83] Compiling generate_webgpu String+CodingKey.swift
[81/84] Wrapping AST for generate-webgpu for debugging
[82/84] Write Objects.LinkFileList
[83/84] Linking generate-webgpu
Build complete! (13.16s)
warning: couldn't find pc file for glfw3
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
[2/42] Write sources
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.
[14/42] Compiling CDawnNative dawn_native.cpp
[14/42] Write swift-version-24593BA9C3E375BF.txt
warning: couldn't find pc file for glfw3
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build complete! (0.28s)
warning: couldn't find pc file for glfw3
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] 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.
[2/30] Compiling CDawnNative dawn_native.cpp
[2/30] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2