Build Information
Failed to build GoldenImage, reference main (f8d2f9), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 05:37:32 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/GoldenImage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/GoldenImage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f8d2f98 Compile Metal shader to metallib at build time via build-tool plugin
Cloned https://github.com/schwa/GoldenImage.git
Revision (git rev-parse @):
f8d2f9815e05363451b4b8940f4dd31532144050
SUCCESS checkout https://github.com/schwa/GoldenImage.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/schwa/GoldenImage.git
https://github.com/schwa/GoldenImage.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "GoldenImage",
"name" : "GoldenImage",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "GoldenImage",
"targets" : [
"GoldenImage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "golden-image-compare",
"targets" : [
"GoldenImageCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MetalCompilerPlugin",
"module_type" : "PluginTarget",
"name" : "MetalCompilerPlugin",
"path" : "Plugins/MetalCompilerPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"GoldenImage",
"golden-image-compare"
],
"sources" : [
"MetalCompilerPlugin.swift"
],
"type" : "plugin"
},
{
"c99name" : "GoldenImageTests",
"module_type" : "SwiftTarget",
"name" : "GoldenImageTests",
"path" : "Tests/GoldenImageTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/alpha_blend.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/alpha_reference.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/edge_aa_a.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/edge_aa_b.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/hdr_a.exr",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/hdr_b.exr",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"GoldenImageComparisonTests.swift",
"ImageCompareTests.swift",
"ImageComparisonOverloadsTests.swift",
"TestImageGenerator.swift"
],
"target_dependencies" : [
"GoldenImage"
],
"type" : "test"
},
{
"c99name" : "GoldenImageCLI",
"module_type" : "SwiftTarget",
"name" : "GoldenImageCLI",
"path" : "Sources/GoldenImageCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"golden-image-compare"
],
"sources" : [
"GoldenImageCLI.swift",
"PreviewWindow.swift"
],
"target_dependencies" : [
"GoldenImage"
],
"type" : "executable"
},
{
"c99name" : "GoldenImage",
"module_type" : "SwiftTarget",
"name" : "GoldenImage",
"path" : "Sources/GoldenImage",
"product_memberships" : [
"GoldenImage",
"golden-image-compare"
],
"sources" : [
"CPUCompare.swift",
"GoldenImageComparison.swift",
"ImageComparison.swift",
"Support.swift",
"TextureCompare.swift"
],
"target_dependencies" : [
"MetalCompilerPlugin"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin MetalCompilerPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/14] Write sources
[6/14] Write golden-image-compare-entitlement.plist
[7/14] Write sources
[8/14] Write swift-version-2F0A5646E1D333AE.txt
error: unable to open output file '/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/C/clang/ModuleCache/ESKOPQNW2QW4/metal_types-2F7PDSIGQ88KE.pcm': 'Operation not permitted'
<built-in>:1:10: fatal error: could not build module 'metal_types'
#include "metal_types"
~~~~~~~~^~~~~~~~~~~~~
error: unable to open output file '/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/C/clang/ModuleCache/ESKOPQNW2QW4/metal_stdlib-2F7PDSIGQ88KE.pcm': 'Operation not permitted'
3 errors generated.
[9/16] Compiling Metal shaders to default.metallib
[10/16] Emitting module ArgumentParserToolInfo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.80s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (2.34s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin MetalCompilerPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
error: unable to open output file '/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/C/clang/ModuleCache/ESKOPQNW2QW4/metal_types-2F7PDSIGQ88KE.pcm': 'Operation not permitted'
<built-in>:1:10: fatal error: could not build module 'metal_types'
#include "metal_types"
~~~~~~~~^~~~~~~~~~~~~
error: unable to open output file '/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/C/clang/ModuleCache/ESKOPQNW2QW4/metal_stdlib-2F7PDSIGQ88KE.pcm': 'Operation not permitted'
3 errors generated.
[3/9] Compiling Metal shaders to default.metallib
[3/9] Write swift-version-2F0A5646E1D333AE.txt
BUILD FAILURE 6.1 macosSpm