Build Information
Failed to build MetalCompilerPlugin, reference main (36c761), with Swift 5.10 for Linux on 23 Nov 2025 23:38:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/MetalCompilerPlugin.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/MetalCompilerPlugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 36c7614 Merge pull request #8 from schwa/jwight/bundle-support
Cloned https://github.com/schwa/MetalCompilerPlugin.git
Revision (git rev-parse @):
36c761478a8e3fb934acf8ef2db4696af95069b4
SUCCESS checkout https://github.com/schwa/MetalCompilerPlugin.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/schwa/MetalCompilerPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:29cd06ed395b3a820a5601000e78fbe5268c851b388429ada04eeea41d67dbe0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
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/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: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Plugins/MetalCompilerPlugin/MetalPlugin.swift:2:8: error: no such module '\''os'\''
import os
^
'
)>
BUILD FAILURE 5.10 linux