Build Information
Failed to build Compute, reference main (b1ba1e
), with Swift 6.0 for Linux on 9 Jul 2025 18:21:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/Compute.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/schwa/Compute
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b1ba1e1 Add link to shader constant ticket
Cloned https://github.com/schwa/Compute.git
Revision (git rev-parse @):
b1ba1e1071c912007bdbb59313e175887335fab8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/schwa/Compute.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/schwa/Compute.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/schwa/MetalCompilerPlugin
[1/270] Fetching metalcompilerplugin
Fetched https://github.com/schwa/MetalCompilerPlugin from cache (0.70s)
Computing version for https://github.com/schwa/MetalCompilerPlugin
Computed https://github.com/schwa/MetalCompilerPlugin at 0.1.0 (3.03s)
Creating working copy for https://github.com/schwa/MetalCompilerPlugin
Working copy of https://github.com/schwa/MetalCompilerPlugin resolved at 0.1.0
error: plugin compilation failed: <PluginCompilationResult(
succeeded: false,
commandLine: /usr/bin/swiftc -L /usr/lib/swift/pm/PluginAPI -lPackagePlugin -Xlinker -rpath -Xlinker /usr/lib/swift/pm/PluginAPI -g -swift-version 5 -package-description-version 5.7.0 -I /usr/lib/swift/pm/PluginAPI -parse-as-library -Xfrontend -serialize-diagnostics-path -Xfrontend /host/spi-builder-workspace/.build/plugins/cache/MetalCompilerPlugin.dia /host/spi-builder-workspace/.build/checkouts/MetalCompilerPlugin/Plugins/MetalCompilerPlugin/MetalPlugin.swift -o /host/spi-builder-workspace/.build/plugins/cache/MetalCompilerPlugin,
executable: ./.build/plugins/cache/MetalCompilerPlugin
diagnostics: ./.build/plugins/cache/MetalCompilerPlugin.dia
compilerOutput: 'error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/MetalCompilerPlugin/Plugins/MetalCompilerPlugin/MetalPlugin.swift:2:8: error: no such module '\''os'\''
1 | import Foundation
2 | import os
| `- error: no such module '\''os'\''
3 | @preconcurrency import PackagePlugin
4 |
'
)>
BUILD FAILURE 6.0 linux