The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

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 /Users/builder/builds/UKfvDsi8u/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/henrybetts/swift-webgpu.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[3/8] Write generate-webgpu-entitlement.plist
[4/8] Write swift-version--423B1241ED78D482.txt
[6/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/10] Emitting module ArgumentParserToolInfo
[8/47] Compiling ArgumentParser ArgumentVisibility.swift
[9/47] Compiling ArgumentParser CompletionKind.swift
[10/47] Compiling ArgumentParser Errors.swift
[11/47] Compiling ArgumentParser Flag.swift
[12/47] Compiling ArgumentParser NameSpecification.swift
[13/47] Compiling ArgumentParser ExpressibleByArgument.swift
[14/47] Compiling ArgumentParser ParsableArguments.swift
[15/47] Compiling ArgumentParser ParsableArgumentsValidation.swift
[16/47] Compiling ArgumentParser ParsableCommand.swift
[17/47] Compiling ArgumentParser ArgumentDecoder.swift
[18/52] Compiling ArgumentParser Option.swift
[19/52] Compiling ArgumentParser OptionGroup.swift
[20/52] Compiling ArgumentParser AsyncParsableCommand.swift
[21/52] Compiling ArgumentParser CommandConfiguration.swift
[22/52] Compiling ArgumentParser EnumerableFlag.swift
[23/52] Compiling ArgumentParser ArgumentDefinition.swift
[24/52] Compiling ArgumentParser ArgumentSet.swift
[25/52] Compiling ArgumentParser CommandParser.swift
[26/52] Compiling ArgumentParser InputKey.swift
[27/52] Compiling ArgumentParser InputOrigin.swift
[28/52] Compiling ArgumentParser CollectionExtensions.swift
[29/52] Compiling ArgumentParser Platform.swift
[30/52] Compiling ArgumentParser SequenceExtensions.swift
[31/52] Compiling ArgumentParser StringExtensions.swift
[32/52] Compiling ArgumentParser Tree.swift
[33/52] Compiling ArgumentParser Name.swift
[34/52] Compiling ArgumentParser Parsed.swift
[35/52] Compiling ArgumentParser ParsedValues.swift
[36/52] Compiling ArgumentParser ParserError.swift
[37/52] Compiling ArgumentParser SplitArguments.swift
[38/52] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/52] Compiling ArgumentParser CompletionsGenerator.swift
[40/52] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/52] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/52] Compiling ArgumentParser Argument.swift
[43/52] Compiling ArgumentParser ArgumentHelp.swift
[44/52] Emitting module ArgumentParser
[45/52] Compiling ArgumentParser DumpHelpGenerator.swift
[46/52] Compiling ArgumentParser HelpCommand.swift
[47/52] Compiling ArgumentParser HelpGenerator.swift
[48/52] Compiling ArgumentParser MessageInfo.swift
[49/52] Compiling ArgumentParser UsageGenerator.swift
[50/77] Compiling generate_webgpu FunctionPointerType.swift
[51/77] Compiling generate_webgpu FunctionType.swift
[52/77] Compiling generate_webgpu Model.swift
[53/80] Compiling generate_webgpu GenerateWebGPU.swift
[54/80] Compiling generate_webgpu BitmaskType.swift
[55/80] Compiling generate_webgpu EnumType.swift
[56/80] Compiling generate_webgpu GenerateClasses.swift
[57/80] Compiling generate_webgpu GenerateEnums.swift
[58/80] Compiling generate_webgpu GenerateFunction.swift
[59/80] Compiling generate_webgpu GenerateFunctionTypes.swift
[60/80] Compiling generate_webgpu GenerateFunctions.swift
[61/80] Compiling generate_webgpu GenerateOptionSets.swift
[62/80] Compiling generate_webgpu GenerateStructs.swift
[63/80] Emitting module generate_webgpu
[64/80] Compiling generate_webgpu StringUtils.swift
[65/80] Compiling generate_webgpu StructureType.swift
[66/80] Compiling generate_webgpu Type.swift
[67/80] Compiling generate_webgpu Taggable.swift
[68/80] Compiling generate_webgpu CodeBuilder.swift
[69/80] Compiling generate_webgpu Conversion.swift
[70/80] Compiling generate_webgpu GenerateCallbacks.swift
[71/80] Compiling generate_webgpu NativeType.swift
[72/80] Compiling generate_webgpu ObjectType.swift
[73/80] Compiling generate_webgpu Record.swift
[74/80] Compiling generate_webgpu DawnData.swift
[75/80] Compiling generate_webgpu DefaultFallback.swift
[76/80] Compiling generate_webgpu HasDefaultValue.swift
[77/80] Compiling generate_webgpu String+CodingKey.swift
[77/80] Write Objects.LinkFileList
[78/80] Linking generate-webgpu
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/plugins/tools/debug/generate-webgpu: replacing existing signature
[79/80] Applying generate-webgpu
Build complete! (6.13s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
[2/42] Write sources
[3/42] Write generate-webgpu-entitlement.plist
[3/42] Write DemoTriangle-entitlement.plist
[3/42] Write sources
[3/42] Write DemoInfo-entitlement.plist
[3/42] Write sources
[3/42] Write DemoClearColor-entitlement.plist
[3/42] Write sources
[3/42] Write DemoBoids-entitlement.plist
[3/42] Write sources
[18/42] Write DemoCube-entitlement.plist
[19/42] Write sources
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/builder/builds/UKfvDsi8u/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.
[20/42] Compiling CDawnNative dawn_native.cpp
[20/42] Write swift-version--423B1241ED78D482.txt
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/SwiftGFX/SwiftMath from cache
Fetched https://github.com/SwiftGFX/SwiftMath from cache (0.18s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.19s)
Computing version for https://github.com/SwiftGFX/SwiftMath
Computed https://github.com/SwiftGFX/SwiftMath at 3.3.1 (0.31s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.02s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.02s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.01s)
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
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/SwiftMath-7a45c62c is not valid git repository for 'https://github.com/SwiftGFX/SwiftMath', will fetch again.
Fetching https://github.com/SwiftGFX/SwiftMath from cache
Fetched https://github.com/SwiftGFX/SwiftMath from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/SwiftMath-7a45c62c is not valid git repository for 'https://github.com/SwiftGFX/SwiftMath', will fetch again.
Fetching https://github.com/SwiftGFX/SwiftMath from cache
Fetched https://github.com/SwiftGFX/SwiftMath from cache (0.01s)
Creating working copy for https://github.com/SwiftGFX/SwiftMath
Working copy of https://github.com/SwiftGFX/SwiftMath resolved at 3.3.1
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...
[0/3] Write swift-version--423B1241ED78D482.txt
Build complete! (0.13s)
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateWebGPUPlugin
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CDawnNative/dawn_native.cpp:2:
/Users/builder/builds/UKfvDsi8u/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/24] Compiling CDawnNative dawn_native.cpp
[2/24] Write swift-version--423B1241ED78D482.txt
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.10 macosSpm

Build Machine: Mac 7